Author: knopp
Date: Tue Feb 10 16:56:02 2009
New Revision: 743018

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

Modified:
    
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js

Modified: 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js?rev=743018&r1=743017&r2=743018&view=diff
==============================================================================
--- 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
 (original)
+++ 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
 Tue Feb 10 16:56:02 2009
@@ -779,7 +779,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);


Reply via email to