Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
[mkws-moved-to-github.git] / src / mkws-widget-builder.js
index 2092a75..60ee37b 100644 (file)
@@ -6,7 +6,7 @@ mkws.registerWidgetType('Builder', function() {
     type: 'button',
     text: this.config.text || "Build!"
   });
-  this.jqnode.append(this.button);
+  this.node.append(this.button);
   this.button.click(function() {
     var   query = team.widget('Query').value();
     var    sort = team.widget('Sort').value();
@@ -24,6 +24,6 @@ mkws.registerWidgetType('Builder', function() {
 mkws.registerWidgetType('ConsoleBuilder', function() {
   mkws.promotionFunction('Builder').call(this);
   this.callback = function(s) {
-    console.log("Generated widget: " + s);
+    console.log("generated widget: " + s);
   }
 });