Sha256: 1cce6e7a261e8ca9af2b81df17df605f97235b4746fa1b40033c15983abbb7d6

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 Bytes

Contents

(function($) {
  $("picture_#{@picture.id}").html('<%= escape_javascript(render(
    :partial => "picture",
    :locals => {:picture => @picture}
  )) -%>');
  Alchemy.inPlaceEditor({
    save_label: "<%= _('save') -%>",
    cancel_label: "<%= _('cancel') -%>"
  });
  Alchemy.growl('<%= @message -%>');
})(jQuery);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-2.0.rc2 app/views/admin/pictures/update.js.erb
alchemy_cms-2.0.rc1 app/views/admin/pictures/update.js.erb
alchemy_cms-2.0.pre5 app/views/admin/pictures/update.js.erb
alchemy_cms-2.0.pre4 app/views/admin/pictures/update.js.erb
alchemy_cms-2.0.pre3 app/views/admin/pictures/update.js.erb
alchemy_cms-2.0.pre2 app/views/admin/pictures/update.js.erb