You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2007/07/17 20:36:43 UTC
svn commit: r557012 -
/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js
Author: jkuhnert
Date: Tue Jul 17 11:36:42 2007
New Revision: 557012
URL: http://svn.apache.org/viewvc?view=rev&rev=557012
Log:
Fixes TAPESTRY-1527. Someone at Dojo didn't implement uninitialize properly because it wasn't disconnecting any of the registered window/key events......garrrr
Modified:
tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js
Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js?view=diff&rev=557012&r1=557011&r2=557012
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo-0.4.3/dojo3.js Tue Jul 17 11:36:42 2007
@@ -4402,6 +4402,8 @@
},uninitialize:function(){
this.bgIframe.remove();
dojo.html.removeNode(this.bg,true);
+dojo.event.disconnect(window, "onscroll", this, "_onScroll");
+dojo.event.disconnect(document.documentElement, "onkey", this, "_onKey");
},setBackgroundColor:function(_419){
if(arguments.length>=3){
_419=new dojo.gfx.color.Color(arguments[0],arguments[1],arguments[2]);