HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/apklausos/assets/scripts/admin/plugin_manager.js
/**
 * All JS related to plugin manager.
 */

// Namespace
var LS = LS || {
    onDocumentReady: {}
};

LS.pluginManager = (function() {
    var module = {};

    /**
     * Not used.
     * @param {string} msg
     * @return {boolean}
     */
    module.confirm = function(msg) {
        // TODO: Possible to return boolean from bootstrap modal?
        $('#confirmation-modal').data('href', 'blablabla').modal('show');
        return false;
    };

    /**
     * Init this module.
     */
    module.init = function() {
        LS.doToolTip();
        // Bound event to uninstall plugin button (plugin list).
        //$('.ls-pm-uninstall-plugin').on('click', module.uninstallPlugin);
    };

    return module;
})();

$(document).on('ready pjax:scriptcomplete', LS.pluginManager.init);