Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | ( function( $ ) { |
||
2 | |||
3 | $( document ).ready(function() { |
||
4 | $( '#search_id-search-date-input' ).datepicker({ |
||
5 | changeMonth: true, |
||
6 | changeYear: true, |
||
7 | dateFormat: 'yy-mm-dd' |
||
8 | }); |
||
9 | |||
10 | $( document ).on('click', '#thickbox-footer-close', function( event ) { |
||
11 | event.preventDefault(); |
||
12 | tb_remove(); |
||
13 | }); |
||
14 | }); |
||
15 | |||
16 | var tabsInsertedEvent = 'tabs_elem_inserted'; |
||
17 | |||
18 | insertionQ( '#tabs' ).every(function ( element ) { |
||
19 | $( element ).trigger( tabsInsertedEvent ) |
||
20 | }); |
||
21 | |||
22 | $( document ).on( tabsInsertedEvent, function() { |
||
23 | $( '#tabs' ).tabs(); |
||
24 | }); |
||
25 | |||
26 | |||
27 | })( jQuery ); |