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]);


Reply via email to