Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2012-04-12 15:52:37 +0000
committerGrant Gayed2012-04-12 15:52:37 +0000
commit68d74bc2396864895f8a75ab39d096e42077905e (patch)
tree7b4e6835391242403588f0934bb13a1b0713bcc3 /bundles/org.eclipse.swt/Eclipse SWT WebKit
parent9f7ccea14bb1fb11d1071f5e85bfb64c67f560bd (diff)
downloadeclipse.platform.swt-68d74bc2396864895f8a75ab39d096e42077905e.tar.gz
eclipse.platform.swt-68d74bc2396864895f8a75ab39d096e42077905e.tar.xz
eclipse.platform.swt-68d74bc2396864895f8a75ab39d096e42077905e.zip
Bug 350098 - [hovering] "Enrich on click" is not working (fix win32
compile error)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/browser/WebPolicyDelegate.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/browser/WebPolicyDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/browser/WebPolicyDelegate.java
index 5a3579aef3..4714333a73 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/browser/WebPolicyDelegate.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/browser/WebPolicyDelegate.java
@@ -112,8 +112,8 @@ int decidePolicyForNavigationAction (int /*long*/ webView, int /*long*/ actionIn
}
}
if (newEvent.doit) {
- if (webkit.jsEnabled != webkit.jsEnabledOnNextPage) {
- webkit.jsEnabled = webkit.jsEnabledOnNextPage;
+ if (webKit.jsEnabled != webKit.jsEnabledOnNextPage) {
+ webKit.jsEnabled = webKit.jsEnabledOnNextPage;
IWebView view = new IWebView (webView);
result[0] = 0;
hr = view.preferences (result);

Back to the top