Added reload after commit.

This commit is contained in:
Martin Edenhofer 2013-08-19 23:01:15 +02:00
parent 29a08aa685
commit 4c9b1d5937

View file

@ -48,7 +48,7 @@ class App.SettingsAreaItem extends App.Controller
) )
new App.ControllerForm( new App.ControllerForm(
el: @el.find('#form-item'), el: @el.find('.form-item'),
model: { configure_attributes: @configure_attributes, className: '' }, model: { configure_attributes: @configure_attributes, className: '' },
autofocus: false, autofocus: false,
) )
@ -73,6 +73,7 @@ class App.SettingsAreaItem extends App.Controller
} }
@setting['state'] = state @setting['state'] = state
ui = @
@setting.save( @setting.save(
success: => success: =>
@ -81,7 +82,7 @@ class App.SettingsAreaItem extends App.Controller
msg: App.i18n.translateContent('Update successful!') msg: App.i18n.translateContent('Update successful!')
timeout: 1500 timeout: 1500
} }
ui.render()
# login check # login check
App.Auth.loginCheck() # App.Auth.loginCheck()
) )