app/assets/javascripts/admin/taxonomy.js.coffee in spree_backend-2.1.2 vs app/assets/javascripts/admin/taxonomy.js.coffee in spree_backend-2.1.3

- old
+ new

@@ -12,11 +12,11 @@ url.setPath url.path() + '/' + node.attr("id") $.ajax type: "POST", dataType: "json", url: url.toString(), - data: ({_method: "put", "taxon[parent_id]": new_parent.attr("id"), "taxon[position]": position }), + data: ({_method: "put", "taxon[parent_id]": new_parent.attr("id"), "taxon[child_index]": position }), error: handle_ajax_error true handle_create = (e, data) -> @@ -28,10 +28,10 @@ $.ajax type: "POST", dataType: "json", url: base_url.toString(), - data: ({"taxon[name]": name, "taxon[parent_id]": new_parent.attr("id"), "taxon[position]": position }), + data: ({"taxon[name]": name, "taxon[parent_id]": new_parent.attr("id"), "taxon[child_index]": position }), error: handle_ajax_error, success: (data,result) -> node.attr('id', data.id) handle_rename = (e, data) ->