OSDN Git Service

Version 0.6.156, add X.UI.Repeater.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 13_XEventDispatcher.js
index 9fa9c80..01ce6c7 100644 (file)
@@ -753,16 +753,16 @@ function X_EventDispatcher_removeEvent( that, type, raw, list, skip ){
 var X_EventDispatcher_actualHandleEvent =\r
        X_UA_EVENT.IE4 || X_UA_EVENT.IE ? // ie45678 EVENT_IE & EVENT_DOM0 for ie4\r
                (function(){\r
-                       var ret;\r
+                       var e = event, ret;\r
                        \r
-                       ret = this[ 'dispatch' ]( new X_DomEvent( event, this, this[ '_rawObject' ] ) );\r
+                       ret = this[ 'dispatch' ]( new X_DomEvent( e, this, this[ '_rawObject' ] ) );\r
 \r
                        if( ret & X_Callback_STOP_PROPAGATION ){\r
-                               event.cancelBubble = true;\r
+                               e.cancelBubble = true;\r
                        };\r
                        if( ret & X_Callback_PREVENT_DEFAULT ){\r
                                this[ '_tag' ] === 'A' && this[ '_rawObject' ].blur();\r
-                               return event.returnValue = false;\r
+                               return e.returnValue = false;\r
                        };\r
                }) :\r
        //X_UA_EVENT.W3C || X_UA_EVENT.DOM0\r