Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix an incorrect use of Object.toJSON() inside the MultiSelect component

  • Loading branch information...
commit 6d734c4fc80aefb352dfc33c7936e05def30fc94 1 parent 2fa4bfe
@hlship authored
View
4 tapx-core/src/main/resources/com/howardlewisship/tapx/core/tapx-multiselect.js
@@ -1,4 +1,4 @@
-T5.extendInitializer(function() {
+T5.extendInitializers(function() {
function setupButton(select, button, callback) {
var enabled = false;
@@ -148,7 +148,7 @@ T5.extendInitializer(function() {
hiddenFieldValue.push(option.txClientValue);
});
- hidden.value = hiddenFieldValue.toJSON();
+ hidden.value = Object.toJSON(hiddenFieldValue);
}
rebuildHiddenFieldValue();
Please sign in to comment.
Something went wrong with that request. Please try again.