%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/shaban/laviva/wp-content/plugins/master-slider/admin/assets/js/
Upload File :
Create Path :
Current File : /var/www/html/shaban/laviva/wp-content/plugins/master-slider/admin/assets/js/global.js

(function($, window, document, undefined){
    "use strict";
    $('.ms-close-notice').on('click', function(event){
        event.preventDefault();
        var $this  = $(this),
            _id    = $this.data('id');

        jQuery.post(
            ajaxurl,
            {
                action    : 'msp_dismiss_notice', // the handler
                msnonce   : __MS_GLOBAL.dismiss_nonce,
                _id       : _id
            },
            function(res){
                if( ! res.success ){
                    alert( res.data.message );
                } else {
                    $this.closest('.msp-notice-wrapper').hide();
                }
            }
        );

    });
})(jQuery, window, document);

Zerion Mini Shell 1.0