mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 07:21:48 +01:00
I only modified the js that is most likely to be used in cocurrent calls. This because we start the development of Tracks 3 that will change all js.
11 lines
No EOL
404 B
Text
11 lines
No EOL
404 B
Text
<% object_name = unique_object_name_for("edit_rec_todo_#{@recurring_todo.id}") -%>
|
|
var <%=object_name%> = {
|
|
animate: function() {
|
|
$('#edit-recurring-todo').html(<%=object_name%>.html_for_edit_form());
|
|
$('#edit-recurring-todo').dialog( "open" );
|
|
},
|
|
html_for_edit_form: function() {
|
|
return "<%= escape_javascript(render(:partial => 'edit_form')) %>";
|
|
}
|
|
}
|
|
<%=object_name%>.animate(); |