X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget.js;h=8be006482852f6031de084ed2b7d5384b1a829f0;hb=db46e4d678127a9c80ee5b329ad447c1c522195d;hp=c92789a7710a87e7e03e96acbbd839094c9b436b;hpb=ee8be91e5b037561e05ca5f660a181e0db6bfb64;p=mkws-moved-to-github.git diff --git a/src/mkws-widget.js b/src/mkws-widget.js index c92789a..8be0064 100644 --- a/src/mkws-widget.js +++ b/src/mkws-widget.js @@ -32,7 +32,7 @@ function widget($, team, type, node) { // also provided, then these are used when the parent widget // provides no values. that.subwidget = function(type, overrides, defaults) { - var attrs = {}; + var attrs = { _team: team.name() }; // Copy locally-set properties from the parent widget for (var name in this.config) { @@ -57,9 +57,10 @@ function widget($, team, type, node) { } var s = []; - s.push('
'); return s.join('');