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/comfortupdate/comfortupdate.js
$(document).on('ready  pjax:scriptcomplete', function(){
    // If no step is required, then the checkupdates buttons is display by php controler.
    // When user click on this button, it build the comfort updater buttons.
    //$("#ajaxcheckupdate").buildComfortButtons();
    $("#update_tab").buildComfortButtons();

    // First, we check if a particular step is required by the php controller
    step = $('#update_step').val();

    if( $.inArray( step , [ "newKey", "welcome", "checkFiles", "checkLocalErrors", "updatebuttons" ] ) != -1 ){
        $('#updaterWrap').displayComfortStep({'step' : step});
    }

});