403Webshell
Server IP : 162.243.168.218  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux ISPCONFIG-WEB-EMPRESAS 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User : web23 ( 5020)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/clients/client3/web23/web/wp-content/plugins/duplicator/assets/js/notifications/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client3/web23/web/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