Author: knopp
Date: Tue Dec 5 12:27:57 2006
New Revision: 482765
URL: http://svn.apache.org/viewvc?view=rev&rev=482765
Log:
workaround for firefox crash
Modified:
incubator/wicket/branches/wicket-1.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js
Modified:
incubator/wicket/branches/wicket-1.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.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js?view=diff&rev=482765&r1=482764&r2=482765
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/modal/res/modal.js
Tue Dec 5 12:27:57 2006
@@ -677,17 +677,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);