mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +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 )
|
||||
form_remote_tag(
|
||||
:url => todo_path(@todo),
|
||||
:loading => "$('#submit_todo_#{@todo.id}').block({message: null})",
|
||||
:html => {
|
||||
:method => :put,
|
||||
:id => dom_id(@todo, 'form'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue