This is where the error occurs.
Code: Select all
/*Private: Load the hash table up from the form.*/
loadHashTable: function() {
if (!this.hashLoaded) {
[color=#FF0000]var serializedHashTable = this.storageField.value;[/color]
if (serializedHashTable !== "" && serializedHashTable !== null) {
this.storageHash = this.fromJSON(serializedHashTable);
this.hashLoaded = true;
}
}
},
/*Private: Save the hash table into the form.*/
saveHashTable: function() {
this.loadHashTable();
var serializedHashTable = this.toJSON(this.storageHash);
this.storageField.value = serializedHashTable;
}