mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-31 14:28:49 +01:00
fix #1310. Add test for this
Found that I had a lot of tests commented out. They have some regressions I will fix later
This commit is contained in:
parent
5a24644aad
commit
7c1cd2a144
6 changed files with 696 additions and 694 deletions
|
|
@ -518,8 +518,8 @@ var TodoItems = {
|
|||
ui.draggable.remove();
|
||||
$('.drop_target').hide();
|
||||
|
||||
ajax_options = default_ajax_options_for_scripts('POST', relative_to_root('todos/change_context'), target);
|
||||
ajax_options.data += "&todo[id]="+dragged_todo + "&todo[context_id]="+context_id
|
||||
ajax_options = default_ajax_options_for_scripts('POST', relative_to_root('todos/'+dragged_todo + '/change_context'), target);
|
||||
ajax_options.data += "&todo[context_id]="+context_id
|
||||
$.ajax(ajax_options);
|
||||
},
|
||||
setup_drag_and_drop: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue