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 2006/12/05 21:35:06 UTC

svn commit: r482766 - /incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js

Author: knopp
Date: Tue Dec  5 12:34:59 2006
New Revision: 482766

URL: http://svn.apache.org/viewvc?view=rev&rev=482766
Log:
Workaround for crashing firefox 

Modified:
    incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js

Modified: incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js?view=diff&rev=482766&r1=482765&r2=482766
==============================================================================
--- incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js (original)
+++ incubator/wicket/branches/wicket-1.2.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js Tue Dec  5 12:34:59 2006
@@ -661,17 +661,9 @@
 	},
 	
 	/**
-	 * Shows the "loading..." string and loads the content 
+	 * Loads the content 
 	 */
-	load: function() {
-		try {
-			var doc = this.content.contentWindow.document;
-			doc.open();	
-			doc.write("loading...");
-			doc.close();
-		} catch (ignore) {
-		}
-		
+	load: function() {			
 		if (this.settings.title == null)
 			this.update = window.setInterval(this.updateTitle.bind(this), 100);