Explorar o código

try to reenable vmcreate after delete action

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
7b77ed7252
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/UI/Client/Templates/assets/js/vm/index.js

+ 1 - 1
app/UI/Client/Templates/assets/js/vm/index.js

@@ -97,7 +97,7 @@ function pcVmDeltedAjaxDone(data) {
     {
         window.location.href = data.htmlData.redirectUrl;
     }
-    window.location.reload();
+    setTimeout(window.location.reload(), 1000);
 }
 
 $(document).ready(function () {