Get rid of Mindmap and Suggested Resources panes (both unimplemented)
authorMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 14:29:59 +0000 (15:29 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 14:29:59 +0000 (15:29 +0100)
examples/htdocs/mkws-widget-credo.js

index 59a9a13..8d9a0b0 100644 (file)
@@ -51,8 +51,6 @@ mkws.registerWidgetType('Credo', function() {
   s.push('</td>');
 
   s.push('<td class="side">');
-  s.push(section('mindmap', 'Create a Mind Map for <span class="x-mkws-title"/>',
-                 this.subwidget('Mindmap', { _team: 'main', facet: 'subject' })));
   s.push(section('topics', 'Related Topics',
                  this.subwidget('Facet', { _team: 'main', facet: 'subject' })));
   s.push('</td>');
@@ -69,8 +67,6 @@ mkws.registerWidgetType('Credo', function() {
                     this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
   s.push(sectionRow('news', 'News',
                     this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
-  s.push(sectionRow('resources', 'Suggested Resources',
-                    "### Not yet implemented"));
 
   s.push('</table>');
 
@@ -112,8 +108,3 @@ mkws.registerWidgetType('Credo', function() {
     return s.join('');
   }
 });
-
-
-mkws.registerWidgetType('Mindmap', function() {
-  this.node.html("### We do not yet have a Mindmap widget");
-});