Fix plugin information
Change-Id: Ia53095c1f790363b750a8beb7a4b2e85c7c5371c
diff --git a/dev/js/src/plugin/widget.js b/dev/js/src/plugin/widget.js
index e661e6d..546cd1b 100644
--- a/dev/js/src/plugin/widget.js
+++ b/dev/js/src/plugin/widget.js
@@ -50,7 +50,11 @@
this.name, {'cls':['button-icon', 'plugin']}, function (e) {
// Temporary
- window.alert("Basic information about this plugin");
+ let str = this.name;
+ if (this.desc !== undefined) {
+ str += "\n\n" + this.desc;
+ };
+ window.alert(str);
}.bind(this));
return obj;