Hi, The current formatter of NodeAjaxOptionsControl doesn't parse JS Array properly.
So, I have fixed this issue and attached the patch for the same. Thanks, Khushboo
diff --git a/web/pgadmin/browser/static/js/node.ui.js b/web/pgadmin/browser/static/js/node.ui.js index cd562af..f650961 100644 --- a/web/pgadmin/browser/static/js/node.ui.js +++ b/web/pgadmin/browser/static/js/node.ui.js @@ -14,6 +14,9 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) { if (typeof(formattedData) == 'string') { return _.unescape(formattedData); } + if (formattedData instanceof Array) { + return JSON.stringify(JSON.parse(JSON.stringify(formattedData))); + } return JSON.parse(formattedData); } });
-- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers