Fix typo/exception in TreeView's handling of core:close event

This commit is contained in:
Nathan Sobo
2012-10-25 12:00:31 -06:00
parent b1e8e2391f
commit 1a8305ee2a

View File

@@ -50,7 +50,7 @@ class TreeView extends ScrollView
@on 'click', '.entry', (e) => @entryClicked(e)
@command 'core:move-up', => @moveUp()
@command 'core:move-down', => @moveDown()
@command 'core:close', => @detatch()
@command 'core:close', => @detach()
@command 'tree-view:expand-directory', => @expandDirectory()
@command 'tree-view:collapse-directory', => @collapseDirectory()
@command 'tree-view:open-selected-entry', => @openSelectedEntry(true)