forked from extern/egroupware
Fix vfsSelect dialog does not preserve the name field on reload
This commit is contained in:
parent
69ac26f600
commit
9fdd6d6d5a
@ -300,6 +300,13 @@ app.classes.vfsSelectUI = (function(){ "use strict"; return AppJS.extend(
|
|||||||
jQuery.extend(arrMgrs.content.data, arrMgrs.modifications.data);
|
jQuery.extend(arrMgrs.content.data, arrMgrs.modifications.data);
|
||||||
this.et2.setArrayMgrs(arrMgrs);
|
this.et2.setArrayMgrs(arrMgrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// preserve value of the name
|
||||||
|
if (arrMgrs && this.et2.getWidgetById('name'))
|
||||||
|
{
|
||||||
|
arrMgrs.content.data['name'] = this.et2.getWidgetById('name').get_value();
|
||||||
|
}
|
||||||
|
|
||||||
this.vfsSelectWidget._content(arrMgrs.content.data, _callback);
|
this.vfsSelectWidget._content(arrMgrs.content.data, _callback);
|
||||||
}
|
}
|
||||||
});}).call(this);
|
});}).call(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user