<?php
// Copyright 1999-2021. Plesk International GmbH. All rights reserved.
?>
<script type="text/javascript">
    //<![CDATA[
    Jsw.onReady(function() {
        new Jsw.Task.ProgressBar(<?= Zend_Json::encode(
            [
                'hidden' => $this->hidden,
                'wsEnabled' => (bool)Plesk_Config::get()->webSocket->enabled,
            ]
        ) ?>);
    });
    //]]>
</script>
