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.
This commit is contained in:
Ashesh Vashi 2016-01-09 21:53:12 +05:30
parent 429f585a62
commit 65f70b46ce
2 changed files with 6 additions and 0 deletions

View File

@ -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());

View File

@ -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;