Orbit/app/views/admin/pages/create.js.erb

3 lines
277 B
Plaintext
Raw Normal View History

2011-06-01 02:24:14 +00:00
$('#sidebar').html("<%= escape_javascript(render(:partial => 'admin/items/site_map_left_bar')) %>");
$('#main').html("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_page_url(@item)) %>");