Merge remote branch 'origin/master' into wosch
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 7 May 2014 14:25:32 +0000 (14:25 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 7 May 2014 14:25:32 +0000 (14:25 +0000)
src/mkws-filter.js
src/mkws-widget.js

index 2be1bd9..b8780da 100644 (file)
@@ -124,6 +124,6 @@ function fieldFilter(field, value) {
 function categoryFilter(id) {
   return {
     type: 'category',
-    id: id,
+    id: id
   };
 }
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 + ")");
   }