Sha256: 51b5a7e54eb042c73bf6867a4f64767c5a1451b58507b80b5620c19d2d4f6613

Contents?: true

Size: 870 Bytes

Versions: 4

Compression:

Stored size: 870 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"&prosperity/deletable_attribute.js;FI"
pathname;TI"q/Users/simon/Documents/rainforest/prosperity/app/assets/javascripts/prosperity/deletable_attribute.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ä„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

4 entries across 2 versions & 1 rubygems

Version Path
prosperity-0.0.11 spec/dummy/tmp/cache/assets/development/sprockets/14242b0a1c79331cfd3be73d3b740edd
prosperity-0.0.11 spec/dummy/tmp/cache/assets/development/sprockets/d57d1e79cd42526c98315f2a51ac895d
prosperity-0.0.9 spec/dummy/tmp/cache/assets/development/sprockets/14242b0a1c79331cfd3be73d3b740edd
prosperity-0.0.9 spec/dummy/tmp/cache/assets/development/sprockets/d57d1e79cd42526c98315f2a51ac895d