1function check_approval_status(type){ 2 publish_status = $("#publish_checkbox").attr('checked'); 3 approve_status = $("#approved_checkbox").attr('checked'); 4 public_status = $("#public_checkbox").attr('checked'); 5 6 if(type == "approved") 7 { 8 if(approve_status == null) 9 { 10 $("#publish_checkbox").attr('checked',false); 11 $("#public_checkbox").attr('checked',false); 12 } 13 } 14 else if(type == "public") 15 { 16 if(public_status == "checked" ) 17 { 18 $("#publish_checkbox").attr('checked',true); 19 $("#approved_checkbox").attr('checked',true); 20 } 21 } 22 else 23 { 24 25 if(publish_status == "checked") 26 { 27 28 $("#approved_checkbox").attr('checked',true); 29 } 30 else 31 { 32 $("#approved_checkbox").attr('readonly',false); 33 $("#public_checkbox").attr('checked',false); 34 } 35 } 36 37} 38 39function publish() 40{ 41 42 document.getElementById('action').value = 'publish'; 43 document.form.submit(); 44 return false; 45 46} 47 48function publics() 49{ 50 51 document.getElementById('action').value = 'public'; 52 document.form.submit(); 53 return false; 54 55} 56 57$(document).ready(function(){ 58 59 //tabSlideOut not support open 1 tab then close 1 tab, following script is make it support 60 //use for slide out tab block, if click the open tab, close the tab else if click the close tab, close the open tab and open the close tab 61 if(jQuery().tabSlideOut) { 62 $('.handle').click(function(){ 63 if(!($(this).parent().hasClass('open'))) 64 $('.open').next().click(); 65 }); 66 } 67 68 $('.page_load_hide').each(function(){ 69 $(this).removeClass('page_load_hide'); 70 }); 71});
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.