Improved error handling.

This commit is contained in:
Martin Edenhofer 2013-07-01 10:17:09 +02:00
parent f5c65bced4
commit 553591c6d1

View file

@ -10,6 +10,7 @@ class App.ControllerForm extends App.Controller
@el.prepend( @form )
# trigger change to rebuild shown/hidden item and update sub selections
if typeof @form is 'object'
@form.find('input').trigger('change')
@form.find('textarea').trigger('change')
@form.find('select').trigger('change')