public inbox for [email protected]
help / color / mirror / Atom feedFrom: Harshal Dhumal <[email protected]>
To: Ashesh Vashi <[email protected]>
Cc: [email protected]
Subject: backgrid select2 cell fixed issue for optionsValues
Date: Thu, 7 Jan 2016 09:57:07 +0530
Message-ID: <CAFiP3vyD9QekhjCz6DQyjZzC2dfk1FK4UG2NguqGerCREFykQg@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Hi,
Please find minor patch to fix optionsValues for backgrid cell.
*Issue:*
Fixed issue when accessing OptionValues from view
--
*Harshal Dhumal*
*Software Engineer *
EenterpriseDB <http://www.enterprisedb.com;
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Attachments:
[text/x-patch] select2_backgrid_cell_7_Jan.patch (605B, 3-select2_backgrid_cell_7_Jan.patch)
download | inline diff:
diff --git a/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
index 41143a3..56932f2 100644
--- a/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
+++ b/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
@@ -310,7 +310,7 @@
var col = _.defaults(this.column.toJSON(), this.defaults),
model = this.model, column = this.column,
editable = Backgrid.callByNeed(col.editable, column, model),
- optionValues = this.column.get('optionValues');
+ optionValues = this.optionValues;
this.$el.empty();
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: backgrid select2 cell fixed issue for optionsValues
In-Reply-To: <CAFiP3vyD9QekhjCz6DQyjZzC2dfk1FK4UG2NguqGerCREFykQg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox