Sha256: 35ab24773bddddf1f171d6034b0948da43589b9d54caba1fc23bc730da841325
Contents?: true
Size: 385 Bytes
Versions: 17
Compression:
Stored size: 385 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
17 entries across 12 versions & 2 rubygems