tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andy...@apache.org
Subject svn commit: r501795 - in /tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo: dojo.js dojo.js.uncompressed.js src/event/browser.js
Date Wed, 31 Jan 2007 11:00:11 GMT
Author: andyhot
Date: Wed Jan 31 03:00:10 2007
New Revision: 501795

URL: http://svn.apache.org/viewvc?view=rev&rev=501795
Log:
TAPESTRY-1242: typo in events

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js
    tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js.uncompressed.js
    tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/src/event/browser.js

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js?view=diff&rev=501795&r1=501794&r2=501795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js Wed Jan 31 03:00:10 2007
@@ -328,7 +328,7 @@
 if(node.removeEventListener){node.removeEventListener(_20e,fp,_210);}};this.addListener=function(node,_212,fp,_214,_215){if(!node){return;}
 if(!_214){var _214=false;}
 _212=dojo.event.browser.normalizedEventName(_212);if(_212=="key"){if(dojo.render.html.ie){this.addListener(node,"onkeydown",fp,_214,_215);}
-_212="onkeypress";}
+_212="keypress";}
 if(!_215){var _216=function(evt){if(!evt){evt=window.event;}
 var ret=fp(dojo.event.browser.fixEvent(evt,this));if(_214){dojo.event.browser.stopEvent(evt);}
 return ret;};}else{_216=fp;}

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js.uncompressed.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js.uncompressed.js?view=diff&rev=501795&r1=501794&r2=501795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js.uncompressed.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js.uncompressed.js Wed Jan
31 03:00:10 2007
@@ -407,7 +407,7 @@
 this.addListener = function(node, evtName, fp, capture, dontFix){if(!node){ return; }
 if(!capture){ var capture = false; }
 evtName = dojo.event.browser.normalizedEventName(evtName);if(evtName == "key"){if(dojo.render.html.ie){this.addListener(node,
"onkeydown", fp, capture, dontFix);}
-evtName = "onkeypress";}
+evtName = "keypress";}
 if(!dontFix){var newfp = function(evt){if(!evt){ evt = window.event; }
 var ret = fp(dojo.event.browser.fixEvent(evt, this));if(capture){dojo.event.browser.stopEvent(evt);}
 return ret;}}else{newfp = fp;}
@@ -1947,4 +1947,4 @@
 var wh = dojo.html.getMarginBox(this.domNode);var width=w||wh.width;var height=h||wh.height;if(this.width
== width && this.height == height){ return false; }
 this.width=width;this.height=height;return true;},checkSize: function(){if(!this._isResized()){
return; }
 this.onResized();},resizeTo: function(w, h){dojo.html.setMarginBox(this.domNode, { width:
w, height: h });if(this.isShowing()){this.onResized();}},resizeSoon: function(){if(this.isShowing()){dojo.lang.setTimeout(this,
this.onResized, 0);}},onResized: function(){dojo.lang.forEach(this.children, function(child){
if(child.checkSize){child.checkSize();}});}});dojo.kwCompoundRequire({common: ["dojo.xml.Parse","dojo.widget.Widget","dojo.widget.Parse","dojo.widget.Manager"],browser:
["dojo.widget.DomWidget","dojo.widget.HtmlWidget"],dashboard: ["dojo.widget.DomWidget","dojo.widget.HtmlWidget"],svg:
 ["dojo.widget.SvgWidget"],rhino:  ["dojo.widget.SwtWidget"]
-});
\ No newline at end of file
+});

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/src/event/browser.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/src/event/browser.js?view=diff&rev=501795&r1=501794&r2=501795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/src/event/browser.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/src/event/browser.js Wed Jan 31
03:00:10 2007
@@ -36,7 +36,7 @@
 this.addListener = function(node, evtName, fp, capture, dontFix){if(!node){ return; }
 if(!capture){ var capture = false; }
 evtName = dojo.event.browser.normalizedEventName(evtName);if(evtName == "key"){if(dojo.render.html.ie){this.addListener(node,
"onkeydown", fp, capture, dontFix);}
-evtName = "onkeypress";}
+evtName = "keypress";}
 if(!dontFix){var newfp = function(evt){if(!evt){ evt = window.event; }
 var ret = fp(dojo.event.browser.fixEvent(evt, this));if(capture){dojo.event.browser.stopEvent(evt);}
 return ret;}}else{newfp = fp;}



Mime
View raw message