|
|
@ -38,6 +38,7 @@ public class VanChartRichEditorPane { |
|
|
|
.prepare(new ScriptContextAdapter() { |
|
|
|
.prepare(new ScriptContextAdapter() { |
|
|
|
public void onScriptContextCreated(ScriptContextEvent event) { |
|
|
|
public void onScriptContextCreated(ScriptContextEvent event) { |
|
|
|
browser = event.getBrowser(); |
|
|
|
browser = event.getBrowser(); |
|
|
|
|
|
|
|
browser.getCacheStorage().clearCache(); |
|
|
|
|
|
|
|
|
|
|
|
JSValue ns = browser.executeJavaScriptAndReturnValue("window." + namespace); |
|
|
|
JSValue ns = browser.executeJavaScriptAndReturnValue("window." + namespace); |
|
|
|
ns.asObject().setProperty(variable, model); |
|
|
|
ns.asObject().setProperty(variable, model); |
|
|
|