changing lists ui wip: toggling first approach
[fnpeditor.git] / modules / documentToolbar / documentToolbar.js
index 2d963d2..0e17fa3 100644 (file)
@@ -20,6 +20,8 @@ return function(sandbox) {
                         event = 'toggleGrid';
                     if(btnId === 'tags')
                         event = 'toggleTags';
+                    if(btnId === 'list')
+                        event = 'toggleList'
                     sandbox.publish(event, btn.hasClass('active'));
                 }
                 if(btn.attr('data-btn-type') === 'cmd') {