Sha256: ac54e83ac96c35d07a491b450a7f1649295d9943c8626ccfae2890d265a206e2

Contents?: true

Size: 620 Bytes

Versions: 3

Compression:

Stored size: 620 Bytes

Contents

$(document).ready(function(){
	$(':checkbox').iphoneStyle({
	  checkedLabel: 'YES',
	  uncheckedLabel: 'NO'
	});
	
	$('#AllowEditing').bind('change',function() {
		if (this.checked) {
			$('#opt-Editor').fadeIn()
		} else {
			$('#opt-Editor').fadeOut()
		}
	})
	
	$('form').bind('submit',function(e) {
		e.preventDefault();
	})
	
	$('table.settings a.preset').bind('click',function(e) {
		e.preventDefault();
		$('#'+$(this).parent().attr('rel')).val(this.rel).effect("highlight", {}, 500);
	})
	
	$('#settings input').bind('change',function(e) {
		$.get($('#settings').attr('action'),$('#settings').serialize())
	})
})

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
Thimblr-0.6.12 public/assets/help.js
Thimblr-0.6.11 public/assets/help.js
Thimblr-0.6.10 public/assets/help.js