mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
* Filemanager: fix drag and drop a file no longer working from outside of browser into the list
This commit is contained in:
parent
e0d04b09c5
commit
644feaffa4
@ -146,6 +146,9 @@ var et2_file = /** @class */ (function (_super) {
|
||||
this.input.attr("multiple", "multiple");
|
||||
}
|
||||
this.setDOMNode(this.node[0]);
|
||||
// set drop target to widget dom node if no target option is specified
|
||||
if (!this.options.drop_target)
|
||||
this.resumable.assignDrop([this.getDOMNode()]);
|
||||
};
|
||||
/**
|
||||
* Get any specific async upload options
|
||||
|
@ -237,6 +237,8 @@ export class et2_file extends et2_inputWidget
|
||||
}
|
||||
|
||||
this.setDOMNode(this.node[0]);
|
||||
// set drop target to widget dom node if no target option is specified
|
||||
if (!this.options.drop_target) this.resumable.assignDrop([this.getDOMNode()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -45,7 +45,7 @@
|
||||
</grid>
|
||||
</template>
|
||||
<template id="filemanager.index.header_left" template="" lang="" group="0" version="1.9.002">
|
||||
<file label="Upload" statustext="Select file to upload in current directory" id="upload" progress_dropdownlist = "true" drop_target ="divAppbox" multiple="true" onFinishOne="app.filemanager.uploadOnOne"/>
|
||||
<file label="Upload" statustext="Select file to upload in current directory" id="upload" progress_dropdownlist = "true" drop_target="filemanager-index" multiple="true" onFinishOne="app.filemanager.uploadOnOne"/>
|
||||
</template>
|
||||
<template id="filemanager.index.header_row" template="" lang="" group="0" version="1.9.002">
|
||||
<buttononly id="home" statustext="Go to your home directory" image="gohome" background_image="true" onclick="app.filemanager.change_dir('~',widget);"/>
|
||||
|
Loading…
Reference in New Issue
Block a user