Bugs fixed: function clearButtons and a did not exist
Change-Id: I47e0f5f02ae2d355dea8c86c71fb07b8b87f39ec
diff --git a/dev/js/src/panel/query.js b/dev/js/src/panel/query.js
index aed2a91..f0f1920 100644
--- a/dev/js/src/panel/query.js
+++ b/dev/js/src/panel/query.js
@@ -20,7 +20,8 @@
// Initialize panel
_init : function (opened) {
this._opened = opened;
-
+ var a = this.actions;
+
// If plugins are enabled, add all buttons for the query panel
if (KorAP.Plugin) {
var queryButtons = KorAP.Plugin.buttonGroup("query");
@@ -30,7 +31,7 @@
a.add.apply(a, queryButtons[i]);
};
- KorAP.Plugin.clearButtons("query")
+ KorAP.Plugin.clearButtonGroup("query")
};
return this;