$('#panel').html('<%= escape_javascript(render("fe/admin/panels/#{@panel_name}")) %>') switchTab('<%= @tab_name %>') clearCurrentElement()