state: "inactive"
},
type: 'POST',
- complete: function () {
+ success: function () {
$("#tabs-5").empty();
initTenant(); //location.reload();
- }
+ },
+ error:function (xhr, textStatus, thrownError){
+ errorDialog("Error:", textStatus + " " + xhr.responseText);
+ }
+
});
});
return true;
}
},
- success: function (response) {},
- complete: function () {
+ success: function () {
location.reload();
}
});
},
async: false,
type: 'POST',
- complete: function () {
+ success: function () {
location.reload();
}
});
state: "inactive"
},
type: 'POST',
- success: function (response) {},
- complete: function () {
+ success: function () {
location.reload();
- }
+ },
+ error:function (xhr, textStatus, thrownError){
+ errorDialog("Error:", textStatus + " " + xhr.responseText);
+ }
});
},
Cancel: function () {