Sha256: 1371722256878b17d2f6d6efdcc3af3e65386a860430df5bc0c52a70821cb7b0
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
page << render(:super) # if we are currently editing a nested belongs_to association do not do any sorting stuff unless nested? && (nested.belongs_to? || nested.has_one?) if ActiveScaffold.js_framework == :prototype page.sortable(*sort_params) elsif ActiveScaffold.js_framework == :jquery reorder_params = {} reorder_params[:eid] = params[:eid] unless params[:eid].blank? page << "ActiveScaffold.sortable('#{sort_params[0]}', #{controller_name.to_json}, #{reorder_params.to_json});" end if controller.send :successful? end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold_sortable_vho-3.0.0 | frontends/default/views/on_update.js.rjs |