Browse Source

try to reenable vmcreate after delete action

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

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

@@ -95,8 +95,10 @@ function mgLocationReload(data) {
 function pcVmDeltedAjaxDone(data) {
     if(data.htmlData.redirectUrl)
     {
-        window.location.href = "file://" . data.htmlData.redirectUrl;
+        window.location.href = data.htmlData.redirectUrl;
     }
+    console.log(data.htmlData.redirectUrl);
+    console.log(window.location.href);
 }
 
 $(document).ready(function () {