Author: jcompagner
Date: Thu Jun 26 05:56:07 2008
New Revision: 671885

URL: http://svn.apache.org/viewvc?rev=671885&view=rev
Log:
remove the background image first from  a style because of an IE bug:
http://support.microsoft.com/kb/925014

Modified:
    
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js

Modified: 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js?rev=671885&r1=671884&r2=671885&view=diff
==============================================================================
--- 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
 (original)
+++ 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
 Thu Jun 26 05:56:07 2008
@@ -271,12 +271,15 @@
        }
 
     // remove the original element
+       if(element.style.backgroundImage)
+               element.style.backgroundImage = "";
        parent.removeChild(element);
-
        element.outerHTML = ""; 
        element = "";
        
        if (window.parent == window || window.parent == null) {
+               if(tempDiv.style.backgroundImage)
+                       tempDiv.style.backgroundImage = "";
                document.body.removeChild(tempDiv);
        }       
        


Reply via email to