mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Cleanup some inconsistent error dialog titles. Fixes #2098
This commit is contained in:
committed by
Dave Page
parent
7e419d1bfe
commit
bac9c77c4e
@@ -408,7 +408,9 @@ define([
|
||||
);
|
||||
}
|
||||
} else {
|
||||
alertify.alert(gettext("This user cannot be deleted."),
|
||||
alertify.alert(
|
||||
gettext("Error"),
|
||||
gettext("This user cannot be deleted."),
|
||||
function(){
|
||||
return true;
|
||||
}
|
||||
@@ -627,7 +629,10 @@ define([
|
||||
},
|
||||
error: function(e) {
|
||||
setTimeout(function() {
|
||||
alertify.alert(gettext('Cannot load user roles.'));
|
||||
alertify.alert(
|
||||
gettext('Error'),
|
||||
gettext('Cannot load user roles.')
|
||||
);
|
||||
},100);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user