Sha256: 758e0d7a172ee3a792d3a35d339a8ff5c15f89999885f5c0274a130bc7fc6d55

Contents?: true

Size: 386 Bytes

Versions: 25

Compression:

Stored size: 386 Bytes

Contents

var association_done = function(event) {
  current = this.first('li.current');
  this.input.next('input[type=hidden]').value(current.get('data-id'));
  this.input.value(current.find('.title').first().html().stripTags()).disable();
}

'.association_clear'.on('click', function(event) {
  this.prev('input[type=text]').value('').enable();
  this.next('input[type=hidden]').value('');
});

Version data entries

25 entries across 21 versions & 2 rubygems

Version Path
puffer-0.0.16 lib/generators/puffer/install/templates/puffer/javascripts/puffer.js
puffer-0.0.16 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.15 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.14 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.13 spec/dummy/public/puffer/javascripts/puffer.js