[Title] Fixed changes not reflected in HTML preview tab
authorchanghyun1.lee <changhyun1.lee@samsung.com>
Thu, 2 Aug 2012 08:11:15 +0000 (17:11 +0900)
committerchanghyun1.lee <changhyun1.lee@samsung.com>
Thu, 2 Aug 2012 08:11:15 +0000 (17:11 +0900)
[Type] bugfix
[Module]
[Priority]
[Nabi] S1-6397
[Redmine#] 6217
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Icfc0c77a5de4540b85e22eba6b32a13508cd3710

org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java

index 20e2188..1363700 100755 (executable)
@@ -1035,6 +1035,7 @@ public final class HTMLEditor extends MultiPageEditorPart implements
                        try {\r
                                String url = file.getLocationURI().toURL().toString();\r
                                getPreviewBrowser().getBrowser().setUrl(url);\r
+                               getPreviewBrowser().getBrowser().refresh();\r
                        } catch (Exception e) {\r
                                getPreviewBrowser().getBrowser().setUrl("about:blank"); //$NON-NLS-1$\r
                        }\r