Permalink
Browse files

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

  • Loading branch information...
hlship committed Jul 26, 2011
1 parent 2fa4bfe commit 6d734c4fc80aefb352dfc33c7936e05def30fc94
Showing with 2 additions and 2 deletions.
  1. +2 −2 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();

0 comments on commit 6d734c4

Please sign in to comment.