Sha256: 894e56390def2b69e98afe3d12430953bb045c79109195e544d50e7e8dd7daa6
Contents?: true
Size: 482 Bytes
Versions: 78
Compression:
Stored size: 482 Bytes
Contents
$("#<%= @target %>").empty().append("<%=j render(:partial => 'fields', :locals => {:linkable => @linkable, :field_name => @field_name, :currently_linked => @currently_linked}) %>") <% if @linkable.count >= Linkable::AJAX_COMBOBOX_MIN %> $("#<%= @target %>").find("select[data-remote]").each -> $(this).ajaxChosen {method: "GET", url:$(this).data('remote'), dataType: 'json'}, (data) -> data <% else %> $("select:not([data-remote]):not(.datetime-selector)").chosen() <% end %>
Version data entries
78 entries across 78 versions & 1 rubygems