Improved error handling.
This commit is contained in:
parent
f5c65bced4
commit
553591c6d1
1 changed files with 4 additions and 3 deletions
|
@ -10,6 +10,7 @@ class App.ControllerForm extends App.Controller
|
||||||
@el.prepend( @form )
|
@el.prepend( @form )
|
||||||
|
|
||||||
# trigger change to rebuild shown/hidden item and update sub selections
|
# trigger change to rebuild shown/hidden item and update sub selections
|
||||||
|
if typeof @form is 'object'
|
||||||
@form.find('input').trigger('change')
|
@form.find('input').trigger('change')
|
||||||
@form.find('textarea').trigger('change')
|
@form.find('textarea').trigger('change')
|
||||||
@form.find('select').trigger('change')
|
@form.find('select').trigger('change')
|
||||||
|
|
Loading…
Reference in a new issue