mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +01:00
fixed not saved comment on an existing file/attachment
This commit is contained in:
parent
f5871177c8
commit
da31446897
@ -1457,7 +1457,7 @@ var et2_link_list = et2_link_string.extend(
|
|||||||
function(button, comment) {
|
function(button, comment) {
|
||||||
if(button != et2_dialog.OK_BUTTON) return;
|
if(button != et2_dialog.OK_BUTTON) return;
|
||||||
var remark = jQuery('#link_'+(self.context.data.dom_id ? self.context.data.dom_id : link_id), self.list).children('.remark');
|
var remark = jQuery('#link_'+(self.context.data.dom_id ? self.context.data.dom_id : link_id), self.list).children('.remark');
|
||||||
if(isNaN(self.context.data.id) || isNaN(self.context.data.link_id == 'undefined'))
|
if(isNaN(self.context.data.link_id)) // new entry, not yet stored
|
||||||
{
|
{
|
||||||
remark.text(comment);
|
remark.text(comment);
|
||||||
// Look for a link-to with the same ID, refresh it
|
// Look for a link-to with the same ID, refresh it
|
||||||
|
Loading…
Reference in New Issue
Block a user