Sha256: a94a16669bb8b295dfd6e72e7dd2cffefd2238df7e25cadcaf907c3bc1be60a8
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
CATARSE.StaticGuidelinesView = Backbone.View.extend({ initialize: function() { $('input[type=checkbox]').click(function(){ if($(this).is(':checked')){ $('input[type=submit]').attr('disabled', false) } else { $('input[type=submit]').attr('disabled', true) } }) $('#show_tips a').click(function(e){ e.preventDefault() $('#more_tips').effect("highlight", {color: "#dfd"}, 1500); $(this).hide() }) $(document).ready(function(){ $('input[type=submit]').show(); $('.submit_loader').remove() if($('input[type=checkbox]').is(':checked')){ $('input[type=submit]').attr('disabled', false) } }) } })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
catarse_core-1.0.0.beta | app/assets/javascripts/app/views/static/guidelines.js |