Sha256: 30af29a59e48f368468e47c13380a624503e5d9a5e0d3be61b8b13388dd63044

Contents?: true

Size: 316 Bytes

Versions: 4

Compression:

Stored size: 316 Bytes

Contents

if @tp
  page << %Q{ $("#tray_#{@tp.id}").effect("shake"); }
else
  tray_position = render_escaped(:partial => 'shared/tray_position',
                                 :locals => {:tray_position => @tray_position})
  page << %Q{
    $("#tray").prepend("#{tray_position}");
    $("#tray").sortable("refresh");
  }
end

Version data entries

4 entries across 4 versions & 1 rubygems

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