mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Fixed display of error codes in SWAL
This commit is contained in:
@@ -3,7 +3,7 @@ function ajaxVMDispatch(params, spin){
|
||||
$.post("/plugins/dynamix.vm.manager/include/VMajax.php", params, function(data) {
|
||||
if (data.error) {
|
||||
swal({
|
||||
title:"Execution error",
|
||||
title:"Execution error", html:true,
|
||||
text:data.error, type:"error"
|
||||
},function(){
|
||||
if (spin) setTimeout(spin+'()',500); else location=window.location.href;
|
||||
|
||||
Reference in New Issue
Block a user