Focus preview list after expanding/collapsing all

This commit is contained in:
Kevin Sawicki
2013-02-13 22:08:30 -08:00
parent b626ce91a9
commit 59a613de73

View File

@@ -98,9 +98,11 @@ class CommandPanelView extends View
onExpandAll: (event) =>
@previewList.expandAllPaths()
@previewList.focus()
onCollapseAll: (event) =>
@previewList.collapseAllPaths()
@previewList.collapseAllPaths()
@previewList.focus()
attach: (text='', options={}) ->
@errorMessages.hide()