Fixed an issue where Tablespace is created though an error is shown on the dialog. Fixes #6745

This commit is contained in:
Nikhil Mohite
2021-12-21 18:07:17 +05:30
committed by Akshay Joshi
parent 02b83146be
commit 461c0abce1
3 changed files with 33 additions and 10 deletions
+6
View File
@@ -1550,6 +1550,12 @@ define('pgadmin.browser.node', [
$(pnlDependencies).removeData('node-prop');
if (pnlDependents)
$(pnlDependents).removeData('node-prop');
if(nodeData.success === 0) {
Notify.alert(gettext('Error'),
gettext(nodeData.errormsg)
);
}
}
}
);