mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 23:08:49 +01:00
Removing UJS caused the home page to stop rendering due to references to apply_behavior. I had to take care of that before I could proceed at all. Some Autocomplete stuff has been yanked out and needs to go back in at some point. Had to replace Protoload with jQuery.blockUI. It's a bit bigger, but oh well.
4 lines
237 B
Text
4 lines
237 B
Text
page[dom_id(@todo, 'form')].find('.placeholder').show().replace_html :partial => 'todos/edit_form'
|
|
page[dom_id(@todo, 'edit')].show
|
|
page[dom_id(@todo, 'line')].hide
|
|
page[dom_id(@todo, 'form')].find('input#todo_description').show().focus
|