Change buttonGroup API to accept various information in data parameter
Change-Id: I0c3eb998d9be04fd1e7955b6c412277ec44755aa
diff --git a/dev/js/src/plugin/widget.js b/dev/js/src/plugin/widget.js
index 068ced4..707f5f0 100644
--- a/dev/js/src/plugin/widget.js
+++ b/dev/js/src/plugin/widget.js
@@ -43,7 +43,7 @@
// is a nice idea as well.
this.actions.add(
- this.name, ['button-icon', 'plugin'], function (e) {
+ this.name, {'cls':['button-icon', 'plugin']}, function (e) {
// Temporary
window.alert("Basic information about this plugin");