Author: pyaschenko
Date: 2009-02-13 09:18:07 -0500 (Fri, 13 Feb 2009)
New Revision: 12656
Modified:
trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js
Log:
https://jira.jboss.org/jira/browse/RF-5225
Modified: trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js
===================================================================
--- trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js 2009-02-13
14:17:51 UTC (rev 12655)
+++ trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js 2009-02-13
14:18:07 UTC (rev 12656)
@@ -3908,8 +3908,8 @@
if (Prototype.Browser.IE) {
Object.extend(methods, {
- stopPropagation: function() { this.cancelBubble = true },
- preventDefault: function() { this.returnValue = false },
+ stopPropagation: function() { this.cancelBubble = true; if (this._stopPropagation)
{ this._stopPropagation() } }, //RF: changed by Nick
+ preventDefault: function() { this.returnValue = false; if (this._preventDefault) {
this._preventDefault() } }, //RF: changed by Nick
inspect: function() { return "[object Event]" }
});
@@ -3925,6 +3925,10 @@
pageX: pointer.x,
pageY: pointer.y
});
+
+ event._stopPropagation = event.stopPropagation; //RF: added by Nick
+ event._preventDefault = event.preventDefault; //RF: added by Nick
+
return Object.extend(event, methods);
};