mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow to use the select2 with multiple selection. Changed the formatter
used by NodeAjaxOptions Family controls to takes care the data returns by these controls.
This commit is contained in:
committed by
Ashesh Vashi
parent
a02b1a4813
commit
b32496f71a
@@ -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);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user