Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
authorMike Taylor <mike@indexdata.com>
Tue, 9 Dec 2014 15:12:47 +0000 (15:12 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 9 Dec 2014 15:12:47 +0000 (15:12 +0000)
src/mkws-widget.js

index fd51a12..d254019 100644 (file)
@@ -182,7 +182,7 @@ mkws.makeWidget = function($, team, type, node) {
   if (fn) {
     fn.call(that);
     this.info("made " + type + " widget(node=" + node + ")");
-  } else if (type.match(/-Container-(narrow|wide)$/)) {
+  } else if (type.match(/-[Cc]ontainer-(narrow|wide)$/)) {
     // Not really a widget: no need to log its lack of promotion
   } else {
     this.info("made UNPROMOTED widget(type=" + type + ", node=" + node + ")");