Add mongoid-tree to Item
This commit is contained in:
1 parent
fd52d00187
commit
6a443f0976
13 files changed
+60
-95
No files matched your search
@@ -19,9 +19,6 @@
|
||||
|
||||
stop: function(event, ui) {
|
||||
$.post("<%= admin_update_position_path %>", { id: ui.item.attr('id'), parent_id: ui.item.parent().closest('li').attr('id'), position: ui.item.index() } );
|
||||
// console.log("parent: " + ui.item.parent().closest('li').attr('id'));
|
||||
// console.log("id: " + ui.item.attr('id'));
|
||||
// console.log("position: " + ui.item.index());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user