diff options
author | Chris Goldthorpe | 2010-11-04 19:25:50 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2010-11-04 19:25:50 +0000 |
commit | eb1bded5e44be4b86da60f6c02f6d79d75682515 (patch) | |
tree | a350c0e073b4192c876995d21c1ff48070f79e52 | |
parent | c55483df26df757e4f48c461dd9d4b50aef3f858 (diff) | |
download | eclipse.platform.ua-eb1bded5e44be4b86da60f6c02f6d79d75682515.tar.gz eclipse.platform.ua-eb1bded5e44be4b86da60f6c02f6d79d75682515.tar.xz eclipse.platform.ua-eb1bded5e44be4b86da60f6c02f6d79d75682515.zip |
Bug 315803 - [Help] On WinXP bookmarks added from help view get name "N/A"
-rw-r--r-- | org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java index 11cb39201..4be56d97c 100644 --- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java +++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java @@ -194,12 +194,7 @@ public class BrowserPart extends AbstractFormPart implements IHelpPart { } private String executeQuery(String domValue) { - String query = "window.status=\"" + QUERY + "\"+" + domValue + ";"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - boolean status = browser.execute(query); - if (status) { - return (String) browser.getData("query"); //$NON-NLS-1$ - } - return null; + return (String)browser.evaluate("return " + domValue + ';'); //$NON-NLS-1$ } private boolean processQuery(String text) { |