Fix error in DocPicker#activate

pull/165/head
Thibaut 10 years ago
parent 83681cb96c
commit 144642985d

@ -13,7 +13,7 @@ class app.views.DocPicker extends app.View
activate: -> activate: ->
if super if super
@render() @render()
@findByTag('input').focus() @findByTag('input')?.focus()
app.appCache?.on 'progress', @onAppCacheProgress app.appCache?.on 'progress', @onAppCacheProgress
$.on @el, 'focus', @onFocus, true $.on @el, 'focus', @onFocus, true
return return

Loading…
Cancel
Save