[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/plg_installer_urlinstaller/js/ -> urlinstaller.js (source)

   1  /**
   2   * @copyright   (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
   3   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   4   */
   5  Joomla = window.Joomla || {};
   6  
   7  (Joomla => {
   8  
   9    document.addEventListener('DOMContentLoaded', () => {
  10      Joomla.submitbuttonurl = () => {
  11        const form = document.getElementById('adminForm');
  12        const loading = document.getElementById('loading');
  13  
  14        if (loading) {
  15          loading.classList.remove('hidden');
  16        }
  17  
  18        form.installtype.value = 'url';
  19        form.submit();
  20      };
  21    });
  22  })(Joomla);


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer