Forráskód Böngészése

Fixed bug in reload pool setting after update

Toby Chui 1 éve
szülő
commit
e556821520

+ 2 - 2
web/SystemAO/storage/fshedit.html

@@ -237,7 +237,7 @@
                         alert(data.error);
                     }else{
                         //Done
-                        window.location.href = "updateComplete.html";
+                        window.location.href = "updateComplete.html#" + targetFSH;
                     }
                 }
 
@@ -248,7 +248,7 @@
             //Request server side to provide info on this FSH
             var input = JSON.parse(decodeURIComponent(window.location.hash.substr(1)));
             $("#groupfield").val(input.group);
-
+            targetFSH = input.group;
             if (input.uuid == undefined){
                  //New fsh
                 $("#pagetitle").text("New File System Handler");

+ 4 - 4
web/SystemAO/storage/updateComplete.html

@@ -24,11 +24,11 @@
           <p>File System Handler options updated. Some options might require a reboot to take effect.</p>
         </div>
         <div class="actions">
-            <div id="reloadpoolbtn" class="ui ok inverted button" onclick="reloadPool()">
-                Reload Pool and Exit
+            <div id="reloadpoolbtn" class="ui green ok inverted button" onclick="reloadPool()">
+                Reload Now
             </div>
-          <div class="ui green ok inverted button" onclick="handleExit()">
-                Exit
+          <div class="ui ok inverted button" onclick="handleExit()">
+                Reload Later
           </div>
         </div>
       </div>