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.pull/3/head
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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue