summaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker/datepicker_tickets.js
blob: de5f750ce33cfb760c181823ad0b7b7be6e79755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * datepicker_tickets.js
 */
(function($) {

module("datepicker: tickets");

test('#4055: onclick events contain references to "jQuery"', function() {
	// no assertions, if the test fails, there will be an error
	
	var _jQuery = jQuery;
	jQuery = null;
	
	$('<div/>').appendTo('body').datepicker()
	// the third weekend day always exists
	.find('tbody .ui-datepicker-week-end:eq(3)').click().end()
	.datepicker('destroy');
	
	jQuery = _jQuery;
});

})(jQuery);