mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-31 05:05:18 +01:00
Spinner on todo update button
This commit is contained in:
parent
94ec1d46bb
commit
e1079b4bc7
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ module TodosHelper
|
||||||
def form_remote_tag_edit_todo( &block )
|
def form_remote_tag_edit_todo( &block )
|
||||||
form_remote_tag(
|
form_remote_tag(
|
||||||
:url => todo_path(@todo),
|
:url => todo_path(@todo),
|
||||||
|
:loading => "$('#submit_todo_#{@todo.id}').block({message: null})",
|
||||||
:html => {
|
:html => {
|
||||||
:method => :put,
|
:method => :put,
|
||||||
:id => dom_id(@todo, 'form'),
|
:id => dom_id(@todo, 'form'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue