|
@@ -49,8 +49,8 @@
|
|
<label>Upload on paste</label>
|
|
<label>Upload on paste</label>
|
|
</div>
|
|
</div>
|
|
<div class="ui icon mini input pasteOnly" style="margin-left: 1em; width: 50%">
|
|
<div class="ui icon mini input pasteOnly" style="margin-left: 1em; width: 50%">
|
|
- <input type="text" id="savepath" placeholder="user:/Desktop" readonly>
|
|
|
|
- <i onclick="pickSavePath();" class="circular folder link icon"></i>
|
|
|
|
|
|
+ <input ondblclick="openCurrentPath();" type="text" id="savepath" placeholder="user:/Desktop" readonly>
|
|
|
|
+ <i onclick="pickSavePath();" title="Pick save location" class="circular folder link icon"></i>
|
|
</div>
|
|
</div>
|
|
<div style="float: right; display:none;" id="uploadSuccIcon">
|
|
<div style="float: right; display:none;" id="uploadSuccIcon">
|
|
<i class="ui green checkmark icon"></i> Uploaded
|
|
<i class="ui green checkmark icon"></i> Uploaded
|
|
@@ -121,6 +121,10 @@
|
|
ao_module_openFileSelector(fileSelected, savePath, "folder",false);
|
|
ao_module_openFileSelector(fileSelected, savePath, "folder",false);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ function openCurrentPath(){
|
|
|
|
+ ao_module_openPath(savePath);
|
|
|
|
+ }
|
|
|
|
+
|
|
function fileSelected(filedata){
|
|
function fileSelected(filedata){
|
|
for (var i=0; i < filedata.length; i++){
|
|
for (var i=0; i < filedata.length; i++){
|
|
var filename = filedata[i].filename;
|
|
var filename = filedata[i].filename;
|