Browse Source

try to reenable vmcreate after delete action

andre 4 years ago
parent
commit
694c779b85
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/UI/Client/Templates/assets/js/vm/index.js

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

@@ -93,12 +93,12 @@ function mgLocationReload(data) {
 
 
 /* VM delete done*/
 /* VM delete done*/
 function pcVmDeltedAjaxDone(data) {
 function pcVmDeltedAjaxDone(data) {
+    window.location.reload();
+/*
     if(data.htmlData.redirectUrl)
     if(data.htmlData.redirectUrl)
     {
     {
         window.location.href = data.htmlData.redirectUrl;
         window.location.href = data.htmlData.redirectUrl;
-    }
-    console.log(data.htmlData.redirectUrl);
-    console.log(window.location.href);
+    } */
 }
 }
 
 
 $(document).ready(function () {
 $(document).ready(function () {