Fix issue where the Reset button does not get enabled till all the mandatory fields are provided in the dialog. Fixes #3538

This commit is contained in:
Aditya Toshniwal
2019-11-15 11:51:06 +05:30
committed by Akshay Joshi
parent 397a1b9616
commit 3ff4dfd02d
2 changed files with 7 additions and 1 deletions

View File

@@ -346,7 +346,12 @@ define('pgadmin.browser.node', [
this.empty().css('visibility', 'hidden');
}.bind(that.statusBar));
}
callback(true);
var sessHasChanged = false;
if(this.sessChanged && this.sessChanged()){
sessHasChanged = true;
}
callback(true, sessHasChanged);
return true;
};