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 74fb3961e..660b65d9f 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/variable.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/variable.js @@ -342,43 +342,43 @@ generateHeader: function(data) { var header = [ - "
", - "
", - "
", - "
", - " ", - "
", - "
", - "
", - "
", - "
"]; + '
', + '
', + '
', + '
', + ' ', + '
', + '
', + '
', + '
', + '
']; if(this.hasDatabase) { header.push([ - "
", - "
", - " ", - "
", - "
", - "
"].join("\n") + '
', + '
', + ' ', + '
', + '
', + '
'].join("\n") ); } if (this.hasRole) { header.push([ - "
", - "
", - " ", - "
", - "
", - "
"].join("\n") + '
', + '
', + ' ', + '
', + '
', + '
'].join("\n") ); } header.push([ - "
", - "
"].join("\n")); + '
', + '
'].join("\n")); // TODO:: Do the i18n _.extend(data, { diff --git a/web/pgadmin/browser/static/js/node.ui.js b/web/pgadmin/browser/static/js/node.ui.js index 7b43a5296..7642a47da 100644 --- a/web/pgadmin/browser/static/js/node.ui.js +++ b/web/pgadmin/browser/static/js/node.ui.js @@ -93,7 +93,7 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) { */ var data = cache_node.cache(url, node_info, cache_level); - if (this.field.get('ver_in_limit') && + if (this.field.get('version_compitible') && (_.isUndefined(data) || _.isNull(data))) { m.trigger('pgadmin:view:fetching', m, self.field); $.ajax({ diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js index 41953006b..42aaa5574 100644 --- a/web/pgadmin/static/js/backform.pgadmin.js +++ b/web/pgadmin/static/js/backform.pgadmin.js @@ -238,6 +238,16 @@ } }); + /* + * Override the input control events in order to reslove the issue related to + * not updating the value sometimes in the input control. + */ + Backform.InputControl.prototype.events = { + "change input": "onChange", + "blur input": "onChange", + "focus input": "clearInvalid" + }; + /* * Overriding the render function of the select control to allow us to use * options as function, which should return array in the format of @@ -774,7 +784,7 @@ var gridHeader = _.template([ '
', ' ', - '
'].join("\n")), gridBody = $('
').append( gridHeader(data)