diff --git a/docs/en_US/release_notes_4_14.rst b/docs/en_US/release_notes_4_14.rst index 18299f6d0..c6c844389 100644 --- a/docs/en_US/release_notes_4_14.rst +++ b/docs/en_US/release_notes_4_14.rst @@ -23,6 +23,7 @@ Bug fixes | `Issue #4199 `_ - Ensure that 'ENTER' key in the data filter should not run the query. | `Issue #4728 `_ - Highlighted the color of closing or opening parenthesis when user select them in CodeMirror. | `Issue #4751 `_ - Fix issue where export job fails when deselecting all the columns. +| `Issue #4753 `_ - Fix an error where 'false' string is displayed when we add a new parameter in the Parameters tab, also clear the old value when the user changes the parameter name. | `Issue #4755 `_ - Ensure that pgAdmin should work behind reverse proxy if the inbuilt server is used as it is. | `Issue #4756 `_ - Fix issue where pgAdmin does not load completely if loaded in an iframe. | `Issue #4760 `_ - Ensure the search path should not be quoted for Database. diff --git a/web/pgadmin/browser/server_groups/servers/static/js/variable.js b/web/pgadmin/browser/server_groups/servers/static/js/variable.js index 3228c8fcc..fad5553b4 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/variable.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/variable.js @@ -87,7 +87,8 @@ function(gettext, _, $, Backbone, Backform, Backgrid, Alertify, pgAdmin, pgNode) setTimeout(function() { self.columns.each(function(col) { if (col.get('name') == 'value') { - + // Reset old value + self.model.set({'value': undefined}, {silent:true}); var idx = self.columns.indexOf(col), cf = col.get('cellFunction'), cell = new (cf.apply(col, [self.model]))({ diff --git a/web/pgadmin/static/js/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid.pgadmin.js index 8093f4dc1..949c5ee0c 100644 --- a/web/pgadmin/static/js/backgrid.pgadmin.js +++ b/web/pgadmin/static/js/backgrid.pgadmin.js @@ -1890,7 +1890,8 @@ define([ }, }); - Backgrid.BooleanCellFormatter = _.extend(Backgrid.CellFormatter.prototype, { + var BooleanCellFormatter = Backgrid.BooleanCellFormatter = function() {}; + _.extend(BooleanCellFormatter.prototype, { fromRaw: function (rawValue) { if (_.isUndefined(rawValue) || _.isNull(rawValue)) { return false;