fix widget field reload

This commit is contained in:
Fu Matthew authored and chris committed 2013-02-27 10:51:41 +08:00
1 parent 071e8a349c
commit 0dabd5b95f
9 files changed
+50 -21

No files matched your search

@@ -0,0 +1,6 @@
<label for="<%= field_name %>" class="control-label">
<%= t("default_widget.widget_data_count") %>
</label>
<div class="controls">
<%= select_tag(field_name,options_for_select(@module_app.get_registration.get_data_count,field_value )) %>
</div>
@@ -0,0 +1 @@
$("#<%= params[:dom_id] %>").parents(".rows").find(".link_switch_holder").html("<%= j link_to_field_switch(@index,'page','frontend_field',nil,@choosen_field) %>");