Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 7 May 2014 14:25:14 +0000 (14:25 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 7 May 2014 14:25:14 +0000 (14:25 +0000)
src/mkws-widget.js

index 6bb9aaa..464d2b4 100644 (file)
@@ -55,6 +55,8 @@ function widget($, team, type, node) {
   if (fn) {
     fn.call(that);
     log("made " + type + " widget(node=" + node + ")");
+  } else if (type.match(/-Container-(narrow|wide)$/)) {
+    // Not really a widget: no need to log its lack of promotion
   } else {
     log("made UNPROMOTED widget(type=" + type + ", node=" + node + ")");
   }