diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-04-12 11:36:41 -0400 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-04-12 11:42:29 -0400 |
commit | 9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd (patch) | |
tree | 4372a95397d6c848fae3ee0ddd6bc40e6c512df3 /bundles/org.eclipse.swt/Eclipse SWT Mozilla | |
parent | 8614680ae78fee56d42eb3d94f28a75f18d340b5 (diff) | |
download | eclipse.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.java | 5 |
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); |