1/**! 2 * Section My SUbPage List 3 * 4 */ 5 6if( window.console ) console.log('LOADED -> sections/my-subpage-list.js'); 7 8 9 10//*** ON READY EVENTS 11jQuery(window).ready( function() { 12 13 14 15 16 //jQuery('#mysubpageslist_callback').parent('.input-wrap').hide(); 17 //jQuery('#mysubpageslist_action_text').parent('.input-wrap').hide(); 18 19 20 21 22 check_item_button_mode(); 23 24 25 26 jQuery(".opt-form .input-wrap #mysubpageslist_mode").on('change', function() { 27 28 if( window.console ) console.log( '-> change: ' + '' + jQuery(this).attr('id') + ' | ' + jQuery(this).val() ); 29 30 //alert('aaa'); 31 check_item_button_mode(); 32 33 }); 34 35 36 37});// --end JQUERY(DOCUMENT).READY ------------------------------------------------------------------------------ // 38 39 40 41 42 43 44function check_item_button_mode() { 45 46 47 if( window.console ) console.log('LOADED -> check...'); 48 49 50 //var mysubplist_btn_mode = jQuery('#mysubpageslist_mode').val(); 51 //console.log( '-> mode: ' + mysubplist_btn_mode ); 52 53 54 //var button_opt_target_id = "#mysubpageslist_callback, #mysubpageslist_action_text"; 55 56 //if( window.console ) console.log( 'LOAD -> ' + btn_mode + ' / ' + button_opt_target_id ); 57 58 /* 59 if( btn_mode == 'page' ) { 60 jQuery(button_opt_target_id).hide(); 61 } 62 else { 63 jQuery(button_opt_target_id).show(); 64 } 65 66 */ 67 68 69}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.