You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by kn...@apache.org on 2009/02/10 17:54:17 UTC

svn commit: r743017 - /wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js

Author: knopp
Date: Tue Feb 10 16:54:04 2009
New Revision: 743017

URL: http://svn.apache.org/viewvc?rev=743017&view=rev
Log:
WICKET-2095

Modified:
    wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js

Modified: wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js?rev=743017&r1=743016&r2=743017&view=diff
==============================================================================
--- wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js (original)
+++ wicket/branches/wicket-1.3.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js Tue Feb 10 16:54:04 2009
@@ -777,7 +777,7 @@
 		this.window.style.display = "none";		
 		
 		// if the window has a div content, the div is reparented to it's old parent 
-		if (typeof(this.oldParent != "undefined")) {		
+		if (typeof(this.oldParent) != "undefined") {		
 			try {	
 				this.content.removeChild(this.settings.element);
 				this.oldParent.appendChild(this.settings.element);