]> git.notmuchmail.org Git - notmuch/blob - devel/notmuch-web/static/js/notmuch-0.1.js
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / devel / notmuch-web / static / js / notmuch-0.1.js
1 $(function(){
2   $("#after").datepicker({
3     altField: "#afters",
4     altFormat: "@",
5     changeMonth: true,
6     changeYear: true,
7     defaultDate: "-7d",
8     minDate: "01/01/1970",
9     yearRange: "2000:+0",
10     onSelect: function(selectedDate) {
11       $("#before").datepicker("option","minDate",selectedDate);
12     }
13   });
14   $("#before").datepicker({
15     altField: "#befores",
16     altFormat: "@",
17     changeMonth: true,
18     changeYear: true,
19     defaultDate: "+1d",
20     maxDate: "+1d",
21     yearRange: "2000:+0",
22     onSelect: function(selectedDate) {
23       $("#after").datepicker("option","maxDate",selectedDate);
24     }
25   });
26   $(function(){
27   $('.multipart-alternative').tabs()
28   });
29   $(function(){
30       $('.embedded-html').on('load',function(){
31       this.style.height = this.contentWindow.document.body.offsetHeight + 'px';
32     });
33   });
34 });
35