CoreFiles by mySites.guru
urlinstaller.es6.js28 lines, 719 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
6e8477ad3c8c127efdf06d7d2a0b5f85
sha1
f01dbb7b062847034fe6bceb146651b116b6a485
sha256
a48ccabd0a9997b7bcb2013023c4a99527e8ebc596f9d7807cdff3c4b04705ff
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @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 => {
  'use strict';

  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);

No other release has this exact content. See every version of this file.