Sha256: 03eb38a93896662103f1d8310677bd7242b18bb19053573eea25c1431b38e911

Contents?: true

Size: 864 Bytes

Versions: 2

Compression:

Stored size: 864 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"&prosperity/deletable_attribute.js;FI"
pathname;TI"k/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/deletable_attribute.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+fŪSI"length;TimI"digest;TI"%e4c5ba0dc48ebedae7f0f19b0a544f6e;FI"source;TI"m(function() {
  $(function() {
    return $('.destroy-action').click(function(e) {
      var $hidden, $target, el;
      e.preventDefault();
      $target = $(e.target);
      $hidden = $target.siblings('input[type="hidden"]');
      $hidden.val('1');
      el = $target.parents(".deletable-nested-attribute");
      return el.hide();
    });
  });

}).call(this);
;TI"required_assets_digest;TI"%08e318abf691cf62f9598c7f2bb3bcd8;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
prosperity-0.0.10 spec/dummy/tmp/cache/assets/development/sprockets/4be441ed3523796ee063e403cf825d5f
prosperity-0.0.10 spec/dummy/tmp/cache/assets/development/sprockets/aac35c5879b84327dbbb68b78aa5bbe8