Orbit/app/views/admin/items/reload_items.js

3 lines
148 B
JavaScript

$("#dialog").modal('hide');
$("#main-wrap ol.sortable").html("<%= j render 'admin/items/node_and_children', node: Item.root %>");
reloadStructure();