403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/INFRABIKEDE/wp-content/plugins/duplicator/assets/js/notifications/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/INFRABIKEDE/wp-content/plugins/duplicator/assets/js/notifications/notices.js
/**
 * Duplicator Dismissible Notices.
 *
 */

'use strict';

var DupAdminNotices = window.DupAdminNotices || (function (document, window, $) {

    /**
     * Public functions and properties.
     */
    var app = {

        /**
         * Start the engine.
         */
        init: function () {

            $(app.ready);
        },

        /**
         * Document ready.
         */
        ready: function () {

            app.events();
        },

        /**
         * Dismissible notices events.
         */
        events: function () {
            $(document).on(
                'click',
                '.dup-notice .notice-dismiss, .dup-notice .dup-notice-dismiss',
                app.dismissNotice
            );

            $(document).on(
                'click',
                '.dup-notice .dup-multi-notice a[data-step]',
                function (e) {
                    e.preventDefault();
                    var target = $(this).attr('data-step');
                    console.log(target)
                    if (target) {
                        var notice = $(this).closest('.dup-multi-notice');
                        var review_step = notice.find('.dup-multi-notice-step-' + target);
                        if (review_step.length > 0) {
                            notice.find('.dup-multi-notice-step:visible').fadeOut(function () {
                                review_step.fadeIn();
                            });
                        }
                    }
                }
            );
        },

        /**
         * Dismiss notice event handler.
         *
         * @param {object} e Event object.
         * */
        dismissNotice: function (e) {

            $.post(dup_admin_notices.ajax_url, {
                action: 'dup_notice_dismiss',
                nonce: dup_admin_notices.nonce,
                id: ($(this).closest('.dup-notice').attr('id') || '').replace('dup-notice-', ''),
            });

            $(this).closest('.dup-notice').fadeOut();
        }
    };

    return app;

}(document, window, jQuery));

// Initialize.
DupAdminNotices.init();

Youez - 2016 - github.com/yon3zu
LinuXploit