Resolved issue if the binary path is not present/correct, then show error notification to add/correct the binary path.

refs #6984
pull/63/head
Nikhil Mohite 2021-11-24 17:28:04 +05:30 committed by Akshay Joshi
parent d644b4f94e
commit 3dcee71a92
1 changed files with 8 additions and 1 deletions

View File

@ -174,7 +174,14 @@ define([
this.showBackupDialog(schema, treeItem, j, data, panel, typeOfDialog, serverIdentifier, extraData);
},
saveCallBack: function(data, dialog) {
pgBrowser.Events.trigger('pgadmin-bgprocess:created', dialog);
if(data.errormsg) {
alertify.alert(
gettext('Utility not found'),
gettext(data.errormsg)
);
} else {
pgBrowser.Events.trigger('pgadmin-bgprocess:created', dialog);
}
},
showBackupDialog: function(schema, item, j, data, panel, typeOfDialog, serverIdentifier, extraData) {
if(schema) {