From 65f70b46ce3b8dc2255c37925518c7398baf7e65 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Sat, 9 Jan 2016 21:53:12 +0530 Subject: [PATCH] Remove the objects from the session while JSONify the objects, sent to the server. Also - set width of the select2 container to 100% under backgrid. --- web/pgadmin/browser/templates/browser/js/node.js | 2 ++ web/pgadmin/static/css/overrides.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/web/pgadmin/browser/templates/browser/js/node.js b/web/pgadmin/browser/templates/browser/js/node.js index b71ab330b..97be43657 100644 --- a/web/pgadmin/browser/templates/browser/js/node.js +++ b/web/pgadmin/browser/templates/browser/js/node.js @@ -1484,6 +1484,8 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, Backform) { if (obj && method && method == 'GET') { res[k] = JSON.stringify(res[k]); } + } else { + delete res[k]; } } else { res[k] = (obj && obj.toJSON()); diff --git a/web/pgadmin/static/css/overrides.css b/web/pgadmin/static/css/overrides.css index 351d64614..7b0fa3117 100755 --- a/web/pgadmin/static/css/overrides.css +++ b/web/pgadmin/static/css/overrides.css @@ -645,6 +645,10 @@ table.backgrid tr.new { width: 100% !important; } +.renderable > .select2-container { + width: 100% !important; +} + div.rolmembership { border: 1.5px solid #faebd7; margin-top: 15px;