Page 1 of 1

IE & RSH Problem

Posted: Tue Nov 04, 2008 2:22 pm
by Jade
I'm using RSH 6.0 from google and when I run it in IE I'm getting this.storageField is null or not an object error. I tried putting it into a try/catch block with no success. It's like the storageField isn't ever being initialized even though it's being called. Anyone else ever had this problem? Any known solutions?

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;
 
    }