Author: mareshkau
Date: 2008-12-01 09:46:51 -0500 (Mon, 01 Dec 2008)
New Revision: 12166
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
Log:
JBIDE-3205
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2008-12-01
14:08:01 UTC (rev 12165)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2008-12-01
14:46:51 UTC (rev 12166)
@@ -711,8 +711,6 @@
*
*/
private void onReloadWindow() {
- //mareshkau, fix for jbide-3205
- if(getController()!=null&&getController().isVisualEditorVisible()){
removeDomEventListeners();
xulRunnerEditor.removeResizerListener();
contentArea = findContentArea();
@@ -720,7 +718,6 @@
addSelectionListener();
xulRunnerEditor.addResizerListener();
controller.reinit();
- }
}
/**
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java 2008-12-01
14:08:01 UTC (rev 12165)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java 2008-12-01
14:46:51 UTC (rev 12166)
@@ -105,7 +105,7 @@
nsIWebProgress webProgress = (nsIWebProgress) serviceManager
.getServiceByContractID("(a)mozilla.org/docloaderservice;1", //
$NON-NLS-1$
nsIWebProgress.NS_IWEBPROGRESS_IID);
- webProgress.addProgressListener(this, nsIWebProgress.NOTIFY_STATE_WINDOW);
+ webProgress.addProgressListener(this, nsIWebProgress.NOTIFY_STATE_ALL);
webBrowser.addWebBrowserListener(this,
nsITooltipListener.NS_ITOOLTIPLISTENER_IID);
}