CoreFiles by mySites.guru
urlinstaller.js28 lines, 735 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
7846a46b6585d5e3cae0e0c2e6400b81
sha1
37455b4780f5eab72d108ff4547790346a4b4733
sha256
bf628db64daf9cf2ff5e8e1a6f40ea75a2c87d66650bb9b367a0898897e12336
/**
* 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 || {};

(function (Joomla) {
  'use strict';

  document.addEventListener('DOMContentLoaded', function () {
    Joomla.submitbuttonurl = function () {
      var form = document.getElementById('adminForm');
      var 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.