[ Index ] |
MailPress 7.2 |
[ Index ] [ Classes ] [ Functions ] [ Variables ] [ Constants ] [ Statistics ] |
[Summary view] [Print] [Text view]
1 // fields 2 3 jQuery(document).ready( function() { 4 5 jQuery('.field-type-help').each(function(i, div) { 6 jQuery(div).appendTo('#' + div.getAttribute('data-id')); 7 }); 8 9 jQuery('.field_type_help').tabs(); 10 jQuery('.field_type_settings').tabs({ 11 activate : function( event, ui){ 12 jQuery("[href='#" + ui.newPanel.attr('id').replace('settings', 'help') + "']").click(); 13 } 14 }); 15 16 jQuery('.field_type').click( function() { 17 var a = jQuery(this); 18 jQuery('.field_type_settings, .field_type_help').hide(); 19 jQuery('#field_type_' + a.val() + '_settings, #field_type_' + a.val() + '_help').show(); 20 } ); 21 22 jQuery('.controls').change( function() { 23 var a = jQuery('.field_type:checked').val(); 24 jQuery('#field_type_controls_' + a).hide(); 25 jQuery('.controls:checked').each( function() { 26 var a = jQuery('.field_type:checked').val(); 27 jQuery('#field_type_controls_' + a).show(); 28 } ); 29 } ); 30 31 } ); 32 33 34 // jQuery('#dashboard-options-link-wrap').appendTo('#screen-meta-links');
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue May 19 15:55:14 2020 | Cross-referenced by PHPXref 0.7.1 |