forked from extern/egroupware
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);
|
||||
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');
|
||||
|
||||
// Override finish to specify a potentially different path
|
||||
|
Loading…
Reference in New Issue
Block a user