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.23 app/assets/javascripts/puffer/puffer.js
puffer-0.0.22 app/assets/javascripts/puffer/puffer.js
puffer-0.0.21 app/assets/javascripts/puffer/puffer.js
puffer-0.0.20 app/assets/javascripts/puffer/puffer.js
puffer_pages-0.0.14 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.19 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.19 lib/generators/puffer/install/templates/puffer/javascripts/puffer.js
puffer_pages-0.0.13 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.12 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.11 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.10 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.9 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.8 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.7 spec/dummy/public/puffer/javascripts/puffer.js
puffer_pages-0.0.6 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.18 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.18 lib/generators/puffer/install/templates/puffer/javascripts/puffer.js
puffer_pages-0.0.5 spec/dummy/public/puffer/javascripts/puffer.js
puffer-0.0.17 lib/generators/puffer/install/templates/puffer/javascripts/puffer.js
puffer-0.0.17 spec/dummy/public/puffer/javascripts/puffer.js