summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Mozilla
diff options
context:
space:
mode:
authorGrant Gayed <grant_gayed@ca.ibm.com>2012-04-12 11:36:41 -0400
committerGrant Gayed <grant_gayed@ca.ibm.com>2012-04-12 11:42:29 -0400
commit9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd (patch)
tree4372a95397d6c848fae3ee0ddd6bc40e6c512df3 /bundles/org.eclipse.swt/Eclipse SWT Mozilla
parent8614680ae78fee56d42eb3d94f28a75f18d340b5 (diff)
downloadeclipse.platform.swt-9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd.tar.gz
eclipse.platform.swt-9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd.tar.xz
eclipse.platform.swt-9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd.zip
Bug 350098 - [hovering] "Enrich on click" is not working
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
index eff03b2ebc..c4ed39d3de 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
@@ -4364,9 +4364,8 @@ int OnStartURIOpen (int /*long*/ aURI, int /*long*/ retval) {
}
if (doit) {
- if (jsEnabledChanged) {
- jsEnabledChanged = false;
-
+ if (jsEnabled != jsEnabledOnNextPage) {
+ jsEnabled = jsEnabledOnNextPage;
int /*long*/[] result = new int /*long*/[1];
int rc = webBrowser.QueryInterface (nsIWebBrowserSetup.NS_IWEBBROWSERSETUP_IID, result);
if (rc != XPCOM.NS_OK) error (rc);