Changeset 8456

Show
Ignore:
Timestamp:
05/07/07 13:20:50 (20 months ago)
Author:
doughays
Message:

Fixes #2929. Change the way arrays of handles are concated for IE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/util/typematic.js

    r8451 r8456  
    7373                        && ((typeof keyObject.shiftKey == "undefined") || keyObject.shiftKey == evt.ctrlKey)){ 
    7474                                dojo.stopEvent(evt); 
    75                                 dijit.util.typematic.trigger(evt, _this, node, callback, keyObject, subsequentDelay, initialDelay); 
     75                                dijit.util.typematic.trigger(keyObject, _this, node, callback, keyObject, subsequentDelay, initialDelay); 
    7676                        }else if (dijit.util.typematic._obj == keyObject){ 
    7777                                dijit.util.typematic.stop(); 
     
    123123                //      The mouseNode is used as the callback obj parameter. 
    124124                //      See the trigger method for other parameters. 
    125                 return Array.concat( 
    126                         this.addKeyListener(keyNode, keyObject, _this, callback, subsequentDelay, initialDelay), 
     125                return this.addKeyListener(keyNode, keyObject, _this, callback, subsequentDelay, initialDelay).concat( 
    127126                        this.addMouseListener(mouseNode, _this, callback, subsequentDelay, initialDelay)); 
    128127        }