Fixed bug: Element loses focus when accessed via tab.

This commit is contained in:
Thorsten Eckel 2015-08-04 14:22:02 +02:00
parent f1950bf66d
commit 2b444656a2

View file

@ -1051,7 +1051,7 @@ class App.ControllerForm extends App.Controller
$( item[0] ).on('focus', ->
visible = $( item[0] ).is(":visible")
if visible && !$( item[0] ).expanding('active')
$( item[0] ).expanding()
$( item[0] ).expanding().focus()
)
App.Delay.set( a, 80 )