Author: reebalazs
Date: Tue May 8 14:50:35 2007
New Revision: 42859
Modified:
kukit/kukit.js/branch/ree-stripout-comments/kukit/plugin.js
Log:
Merge from performance_improvement branch -r42857:42858 : Fix a namespace
problem that caused events to bind with error
Modified: kukit/kukit.js/branch/ree-stripout-comments/kukit/plugin.js
==============================================================================
--- kukit/kukit.js/branch/ree-stripout-comments/kukit/plugin.js (original)
+++ kukit/kukit.js/branch/ree-stripout-comments/kukit/plugin.js Tue May 8
14:50:35 2007
@@ -183,10 +183,9 @@
// var name = oper.getEventName();
if (oper.parms.preventdefault && kukit.HAVE_SAFARI
&& (oper.parms.allowbubbling || name == 'click' &&
oper.node.tagName.toLowerCase() == 'a')) {
- function cancelClickSafari() {
+ oper.node.onclick = function cancelClickSafari() {
return false;
- }
- node.onclick = cancelClickSafari;
+ };
}
};
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins