CoreFiles by mySites.guru
urlinstaller.js22 lines, 575 bytes, from Joomla_4.2.1-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.0-rc1
md5
116e5417d91e3ff5d881015187be5533
sha1
eb8347cc980bdc5fdb31d21c34983269e378fd5f
sha256
e9a4130e73c90e7e203bb9c76258d03a9a19e23db0adc6f863b0f1beb69b02b6
/**
 * @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 68 releases, Joomla 4.0.0-rc1 to 4.2.9. See them all, or every version of this file.