mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
* Filemanager: fix not working upload in idots template
This commit is contained in:
parent
0380239cad
commit
61aa852df0
@ -71,9 +71,10 @@ app.classes.filemanager = AppJS.extend(
|
||||
// call parent
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
this.path_widget[et2.DOMContainer.id] = this.et2.getWidgetById('path') || null;
|
||||
if(this.path_widget[et2.DOMContainer.id])
|
||||
var path_widget = this.et2.getWidgetById('path');
|
||||
if(path_widget) // do NOT set not found path-widgets, as uploads works on first one only!
|
||||
{
|
||||
this.path_widget[et2.DOMContainer.id] = path_widget;
|
||||
// Bind to removal to remove from list
|
||||
$j(et2.DOMContainer).on('clear', function(e) {
|
||||
if (app.filemanager && app.filemanager.path_widget) delete app.filemanager.path_widget[e.target.id];
|
||||
|
Loading…
Reference in New Issue
Block a user