Close button added to the alertify message box, which pops up in case of backend error. Fixes #3290

This commit is contained in:
Ashesh Vashi
2018-04-24 18:57:31 +05:30
committed by Akshay Joshi
parent eb35629712
commit b653b742ed
5 changed files with 14 additions and 7 deletions

View File

@@ -420,10 +420,10 @@ define('pgadmin.node.server', [
return {
buttons: [{
text: gettext('Ok'), key: 13, className: 'btn btn-primary',
attrs:{name:'submit'},
attrs: {name:'submit'},
},{
text: gettext('Cancel'), key: 27, className: 'btn btn-danger',
attrs:{name:'cancel'},
text: gettext('Cancel'), key: 27,
className: 'btn btn-danger', attrs: {name: 'cancel'},
}],
// Set options for dialog
options: {
@@ -1046,6 +1046,7 @@ define('pgadmin.node.server', [
text: gettext('OK'), key: 13, className: 'btn btn-primary',
},{
text: gettext('Cancel'), className: 'btn btn-danger',
key: 27,
}],
focus: {element: '#password', select: true},
options: {