Эх сурвалжийг харах

try to reenable vmcreate after delete action

andre 4 жил өмнө
parent
commit
13818fffdf

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

@@ -95,8 +95,10 @@ function mgLocationReload(data) {
 function pcVmDeltedAjaxDone(data) {
 function pcVmDeltedAjaxDone(data) {
     if(data.htmlData.redirectUrl)
     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 () {
 $(document).ready(function () {