From 29c236c33d05d07b1d8bce78f60a98cae684a676 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Mon, 24 Feb 2020 12:33:23 +0530 Subject: [PATCH] =?UTF-8?q?Ensure=20that=20AlertifyJS=20should=20not=20be?= =?UTF-8?q?=20visible=20as=20a=20title=20for=20alert=C2=A0dialog.=20Fixes?= =?UTF-8?q?=20#5058?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/release_notes_4_19.rst | 1 + web/pgadmin/static/js/backgrid.pgadmin.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_4_19.rst b/docs/en_US/release_notes_4_19.rst index ac8edc521..d7a7650bf 100644 --- a/docs/en_US/release_notes_4_19.rst +++ b/docs/en_US/release_notes_4_19.rst @@ -22,5 +22,6 @@ Housekeeping Bug fixes ********* +| `Issue #5058 `_ - Ensure that AlertifyJS should not be visible as a title for alert dialog. | `Issue #5107 `_ - Set proper focus on tab navigation for file manager dialog. | `Issue #5115 `_ - Fix an issue where command and statements were parsed incorrectly for Rules. \ No newline at end of file diff --git a/web/pgadmin/static/js/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid.pgadmin.js index 5bf2fec5b..5eaa167d4 100644 --- a/web/pgadmin/static/js/backgrid.pgadmin.js +++ b/web/pgadmin/static/js/backgrid.pgadmin.js @@ -443,7 +443,7 @@ define([ ); } } else { - Alertify.alert(gettext('This object is not user editable.'), + Alertify.alert(gettext('Edit object'), gettext('This object is not user editable.'), function() { return true; }); @@ -538,7 +538,7 @@ define([ } ); } else { - Alertify.alert(gettext('This object cannot be deleted.'), + Alertify.alert(gettext('Delete object'), gettext('This object cannot be deleted.'), function() { return true; }