Sha256: d24eccc5e8b7cd95fefcedd281cd7fc89312e79a2fbc713d367101c786e51249
Contents?: true
Size: 497 Bytes
Versions: 18
Compression:
Stored size: 497 Bytes
Contents
- content_for :page_scripts do :plain document.observe('dom:loaded', function(){ $('uploader').down('form.button_form input[type=submit]').hide() $('uploader').hide() }) Event.addBehavior({ 'a.replace:click': function(){ var ref = this.readAttribute('href').sub(/\#/,'') $(ref).show(); this.hide(); }, 'input[type=file]:change': function(){ this.up('form').highlight().down('input[type=submit]').show(); } });
Version data entries
18 entries across 18 versions & 2 rubygems