mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Fix small IE8 bug
This commit is contained in:
parent
d9d08fac35
commit
ac96c5c738
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ function enable_rich_interaction(){
|
||||||
dragged_todo = ui.draggable[0].id.split('_')[2];
|
dragged_todo = ui.draggable[0].id.split('_')[2];
|
||||||
dropped_todo = this.id.split('_')[2];
|
dropped_todo = this.id.split('_')[2];
|
||||||
ui.draggable.remove();
|
ui.draggable.remove();
|
||||||
|
$('.drop_target').hide(); // IE8 doesn't call stop() in this situation
|
||||||
$(this).block({message: null});
|
$(this).block({message: null});
|
||||||
$.post(relative_to_root('todos/add_predecessor'),
|
$.post(relative_to_root('todos/add_predecessor'),
|
||||||
{successor: dragged_todo, predecessor: dropped_todo},
|
{successor: dragged_todo, predecessor: dropped_todo},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue