CoreFiles by mySites.guru
urlinstaller.js20 lines, 573 bytes, from Joomla_5.2.5-Stable-Full_Package.zip
Raw History Compare with 5.2.4
md5
38805bed7a5557b6409fd4e5da4f051a
sha1
73fb24e0aaa5bb4e53f0222617012ad45f489f89
sha256
e503b324cd6d0b62b36217a3545f736ed168f2ff9f3c4cb506b2e5ddd21c8a3f
/**
 * @copyright   (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

Joomla = window.Joomla || {};
(Joomla => {

  document.addEventListener('DOMContentLoaded', () => {
    Joomla.submitbuttonurl = () => {
      const form = document.getElementById('adminForm');
      const loading = document.getElementById('loading');
      if (loading) {
        loading.classList.remove('hidden');
      }
      form.installtype.value = 'url';
      form.submit();
    };
  });
})(Joomla);

The same content is in 216 releases, Joomla 4.3.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.