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

1 line
181 B
Plaintext

$("#<%= params[:dom_id] %>").parents(".rows").find(".link_switch_holder").html("<%= j link_to_field_switch(@index,'page','frontend_field',nil,@selected[:default_widget_field]) %>");