Sha256: 181f973cb9a3214b9847c488fa2be4e940bac451b36ab2115bdf577e459ac23c

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

if @tp
  tray_position = render_escaped(:partial => 'shared/tray_position',
                                 :locals => {:tray_position => @tp})

  page << %Q{
    $("#tray_0").replaceWith("#{tray_position}");
		ajaxifyTrayRemoveButtons();
  }

end

page << %Q{
  $("#tray").sortable("refresh");
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fassets_core-0.4.0 app/views/tray_positions/sort.js.rjs
fassets_core-0.3.1 app/views/tray_positions/sort.js.rjs
fassets_core-0.3.0 app/views/tray_positions/sort.js.rjs
fassets_core-0.2.0 app/views/tray_positions/sort.js.rjs