mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Handle case of no info from dropped row, just upload to current path
This commit is contained in:
parent
a10ac05b63
commit
cbeeb85251
@ -532,7 +532,7 @@ app.classes.filemanager = AppJS.extend(
|
|||||||
var data = egw.dataGetUIDdata(row_uid);
|
var data = egw.dataGetUIDdata(row_uid);
|
||||||
files = files || window.event.dataTransfer.files;
|
files = files || window.event.dataTransfer.files;
|
||||||
|
|
||||||
var path = data.data.mime == "httpd/unix-directory" ? data.data.path : this.get_path();
|
var path = typeof data != 'undefined' && data.data.mime == "httpd/unix-directory" ? data.data.path : this.get_path();
|
||||||
var widget = this.et2.getWidgetById('upload');
|
var widget = this.et2.getWidgetById('upload');
|
||||||
|
|
||||||
// Override finish to specify a potentially different path
|
// Override finish to specify a potentially different path
|
||||||
|
Loading…
Reference in New Issue
Block a user