photo tagging still broken - but at least don't create a new linked item every time a photo is edited.
This commit is contained in:
parent
d9794b981d
commit
3100b5d93e
@ -13,6 +13,8 @@ class CustomAJAXChat extends AJAXChat {
|
||||
// Returns null if login is invalid
|
||||
function getValidLoginUserData() {
|
||||
|
||||
|
||||
|
||||
$customUsers = $this->getCustomUsers();
|
||||
|
||||
if($this->getRequestVar('password')) {
|
||||
|
@ -778,6 +778,8 @@ function photos_content(&$a) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$prevlink = '';
|
||||
$nextlink = '';
|
||||
|
||||
@ -898,6 +900,8 @@ function photos_content(&$a) {
|
||||
}
|
||||
}
|
||||
|
||||
// logger('mod_photo: link_item' . print_r($link_item,true));
|
||||
|
||||
// FIXME - remove this when we move to conversation module
|
||||
|
||||
$r = $r[0]['children'];
|
||||
|
@ -24,7 +24,7 @@
|
||||
<div id="photo-edit-edit" style="display: none;">
|
||||
<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form" >
|
||||
|
||||
<input type="hidden" name="item_id" value="{{$item_id}}" />
|
||||
<input type="hidden" name="item_id" value="{{$edit.item_id}}" />
|
||||
|
||||
<label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$edit.newalbum}}</label>
|
||||
<input id="photo-edit-albumname" type="text" size="32" name="albname" value="{{$edit.album}}" />
|
||||
|
Reference in New Issue
Block a user