allow html Forms in plugins / improve export demo
Change-Id: I62e6e1de41b2e69fd3dea2afec0cf6d213493eac
diff --git a/dev/demo/export.js b/dev/demo/export.js
index 0457436..09e126f 100644
--- a/dev/demo/export.js
+++ b/dev/demo/export.js
@@ -13,7 +13,7 @@
});
-require(['plugin/server', 'panel/result'], function (pluginClass, resultPanelClass){
+require(['plugin/server', 'panel/result', 'init'], function (pluginClass, resultPanelClass){
KorAP.Plugin = pluginClass.create();
@@ -48,16 +48,9 @@
var sb = document.getElementById('search');
sb.insertBefore(resultPanel.element(), sb.firstChild);
};
-
- resultPanel.addAlignAction();
// There is a koralQuery
if (KorAP.koralQuery !== undefined) {
-
- // Add KoralQuery view to result panel
- if (resultInfo !== null) {
- resultPanel.addKqAction()
- };
if (KorAP.koralQuery["errors"]) {
var errors = KorAP.koralQuery["errors"];