mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-04-10 17:18:19 +02:00
Fix vfsSelect dialog does not preserve the name field on reload
This commit is contained in:
parent
632928887a
commit
81bcd9fb42
@ -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