Orbit/app/views/admin/items/_site_map_left_bar.html.erb

16 lines
383 B
Plaintext
Raw Normal View History

2012-05-22 06:45:49 +00:00
<ol class="nav nav-list">
<%= render_node_and_children(Item.first(:conditions => {:parent_id => nil})) %>
</ol>
2012-05-22 09:37:15 +00:00
<script type="text/javascript">
$.ajaxSetup({
error: function(xhr, status, err) {
if (xhr.status == 401){
alert("<%= I18n.t('access.denied.ajax_401_error') %>");
window.location.href = '/';
}
}
});
2012-05-22 09:37:15 +00:00
bindTreeDragHandle();
2012-12-27 06:36:51 +00:00
</script>