Browse Source

Fixed file opr complete checkmark not showing bug

Toby Chui 3 years ago
parent
commit
6bf2cfd942
1 changed files with 3 additions and 2 deletions
  1. 3 2
      web/SystemAO/file_system/file_operation.html

+ 3 - 2
web/SystemAO/file_system/file_operation.html

@@ -299,7 +299,7 @@
                         }
                     };
 
-                    ws.onclose = function() { 
+                    ws.onclose = function() {
                         if (!enterErrorMode){
                             $("#progressbar").css("background-color", "#2bba35");
                             $("#progressbar").css("width", "100%");
@@ -647,7 +647,8 @@
                 }else{
                     $("#progressbar").css("background-color","#21ba45");
                     $("#progressbar").parent().removeClass('active');
-                    
+                    $("#opricon").attr("src", "img/done.png");
+
                     if (opr == "move" || opr == "copy" || opr == "zip" || opr == "unzip"){
                         //Action completed. close window.
                         setTimeout(function(){