forked from extern/egroupware
Filemanager - Fix save as only downloaded the last file
This commit is contained in:
parent
4222aab586
commit
58e28b1386
@ -656,10 +656,12 @@ app.classes.filemanager = AppJS.extend(
|
|||||||
.prop('download', data ? data.data.name : "")
|
.prop('download', data ? data.data.name : "")
|
||||||
.appendTo(this.et2.getDOMNode());
|
.appendTo(this.et2.getDOMNode());
|
||||||
|
|
||||||
var evt = document.createEvent('MouseEvent');
|
window.setTimeout(jQuery.proxy(function() {
|
||||||
evt.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
|
var evt = document.createEvent('MouseEvent');
|
||||||
a[0].dispatchEvent(evt);
|
evt.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||||
a.remove();
|
a[0].dispatchEvent(evt);
|
||||||
|
this.remove();
|
||||||
|
}, a), 100*i);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user