Spinner on todo update button

This commit is contained in:
Eric Allen 2009-10-16 18:58:38 -04:00
parent 94ec1d46bb
commit e1079b4bc7

View file

@ -10,6 +10,7 @@ module TodosHelper
def form_remote_tag_edit_todo( &block )
form_remote_tag(
:url => todo_path(@todo),
:loading => "$('#submit_todo_#{@todo.id}').block({message: null})",
:html => {
:method => :put,
:id => dom_id(@todo, 'form'),