Clear the miniEditor when showing the event palette

This commit is contained in:
Nathan Sobo
2012-10-04 10:07:54 -10:00
parent c57e448ddd
commit 6bfffcac55
2 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ class EventPalette extends SelectList
@previouslyFocusedElement = $(':focus')
@setArray(@previouslyFocusedElement.events())
@appendTo(@rootView)
@miniEditor.setText('')
@miniEditor.focus()
itemForElement: ([eventName, description]) ->