Use cancel instead of detach

This commit is contained in:
Kevin Sawicki
2013-02-11 14:26:18 -08:00
parent a4c147ef1c
commit 2dcf607e12

View File

@@ -55,7 +55,7 @@ class SymbolsView extends SelectList
else
@miniEditor.hide()
@setError("No symbols found")
setTimeout (=> @detach()), 2000
setTimeout (=> @cancel()), 2000
toggleProjectSymbols: ->
if @hasParent()
@@ -75,7 +75,7 @@ class SymbolsView extends SelectList
else
@miniEditor.hide()
@setError("No symbols found")
setTimeout (=> @detach()), 2000
setTimeout (=> @cancel()), 2000
confirmed : (tag) ->
@cancel()