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

3 lines
183 B
Plaintext

$('#panel_main').html("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_page_url(@item)) %>");