|
@@ -24,6 +24,7 @@
|
|
<span id="flist"></span>
|
|
<span id="flist"></span>
|
|
<br>
|
|
<br>
|
|
<button class="ui blue button" onClick="pinWindow();">Pin Window</button>
|
|
<button class="ui blue button" onClick="pinWindow();">Pin Window</button>
|
|
|
|
+ <button class="ui blue button" onClick="unpinWindow();">Unpin Window</button>
|
|
<button class="ui primary button" onclick="openfileselector();">Open File Selector New Mode</button>
|
|
<button class="ui primary button" onclick="openfileselector();">Open File Selector New Mode</button>
|
|
<button class="ui negative button" onClick="ao_module_close();">Close Window</button>
|
|
<button class="ui negative button" onClick="ao_module_close();">Close Window</button>
|
|
</div>
|
|
</div>
|
|
@@ -48,6 +49,10 @@
|
|
ao_module_setTopMost();
|
|
ao_module_setTopMost();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ function unpinWindow(){
|
|
|
|
+ ao_module_unsetTopMost();
|
|
|
|
+ }
|
|
|
|
+
|
|
function fileLoader(filedata){
|
|
function fileLoader(filedata){
|
|
if (filedata.length == 0){
|
|
if (filedata.length == 0){
|
|
$("#flist").text("No file selected");
|
|
$("#flist").text("No file selected");
|