From 63f7f01169274402d8f08e8a8656a3764e428c79 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 14 Feb 2014 13:40:12 -0800 Subject: [PATCH] Tweak SelectListView comments --- src/select-list-view.coffee | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/select-list-view.coffee b/src/select-list-view.coffee index f68db4299..0536bff57 100644 --- a/src/select-list-view.coffee +++ b/src/select-list-view.coffee @@ -250,7 +250,7 @@ class SelectListView extends View # Returns the property name to fuzzy filter by. getFilterKey: -> - # Public: Focus the fuzzy filter editor. + # Public: Focus the fuzzy filter editor view. focusFilterEditor: -> @filterEditorView.focus() @@ -269,7 +269,10 @@ class SelectListView extends View @filterEditorView.getEditor().setText('') @filterEditorView.updateDisplay() - # Public: Cancel and close the select list dialog. + # Public: Cancel and close this select list view. + # + # This restores focus to the previously focused element if + # {.storeFocusedElement} was called prior to this view being attached. cancel: -> @list.empty() @cancelling = true