Integration of plugin buttons in result panel

Change-Id: I74c8264f02a64c6f339dbb46295d6be92807d833
diff --git a/dev/js/src/panel/result.js b/dev/js/src/panel/result.js
index 978a1b6..02c6e53 100644
--- a/dev/js/src/panel/result.js
+++ b/dev/js/src/panel/result.js
@@ -23,6 +23,21 @@
     // Initialize panel
     _init : function (opened) {
       this._opened = opened;
+
+      
+      // If plugins are enabled, add all buttons for the result panel
+     if (KorAP.Plugin) {
+        var resultButtons = KorAP.Plugin.buttonGroup("result");
+
+        // Add all result buttons in order
+        for (i in resultButtons) {
+          this.actions.add.apply(this.actions, resultButtons[i]);
+        };
+
+        KorAP.Plugin.clearButtonGroup("result");
+      };
+      
+      
       return this;
     },
 
@@ -82,6 +97,8 @@
           this.button.toggleClass("left", "right");
         };        
       });
+
+      
     }
   }
 });