swal(gettext('Error'),"[ "+name+" ]"+gettext("Being used by the asset, please unbind the asset first."),"error");
};
APIUpdateAttr({
requestApi({
url:url,
body:JSON.stringify(body),
method:'DELETE',
...
...
@@ -369,7 +369,7 @@ function orgDelete(obj, name, url, redirectTo){
swal(gettext("Error")," [ "+name+" ] "+gettext("Do not perform this operation under this organization. Try again after switching to another organization"),"error");
}
};
APIUpdateAttr({
requestApi({
url:url,
body:JSON.stringify(body),
method:'DELETE',
...
...
@@ -1109,7 +1109,19 @@ function objectAttrsIsBool(obj, attrs) {