mailr/themes/olive/javascripts/application.js

25 lines
602 B
JavaScript
Raw Normal View History

2011-07-21 20:20:15 +02:00
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
2011-08-24 19:20:13 +02:00
jQuery(document).ready(function() {
jQuery("#toggleall").click(function() {
var checked_status = this.checked;
jQuery("input[type='checkbox']").each(function() {
this.checked = checked_status;
});
});
$('#header_source').dialog({
autoOpen: false,
width: 600
});
$('#show_header').click(function(){
$('#header_source').dialog('open');
return false;
});
});