Integration of plugin buttons in result panel
Change-Id: I74c8264f02a64c6f339dbb46295d6be92807d833
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index 82d9de9..0b31e23 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -84,6 +84,8 @@
// What should be visible in the beginning?
var show = KorAP.session.get('show') || {};
+
+ KorAP.Panel = KorAP.Panel || {}
/**
* Release notifications
@@ -268,7 +270,7 @@
if (matchCount > 0)
resultPanel.addAlignAction();
-
+ KorAP.Panel['result'] = resultPanel;
/*
* Toggle the Virtual Corpus builder
*/
@@ -390,7 +392,6 @@
if (sform && vcView) {
// The views are below the query bar
sform.insertBefore(queryPanel.element(), vcView);
- KorAP.Panel = KorAP.Panel || {};
KorAP.Panel['query'] = queryPanel;
}