CoreFiles by mySites.guru
admin-login-es5.js23 lines, 646 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
6891ded625149a90700913bd58ff4c6f
sha1
77c96c4e44d43b5fadb362866b68a89372da14ab
sha256
74aee8d73fef67e109206ede44c71753be1b75c57d3e575f5405f7f102d02959
(function () {
  'use strict';

  /**
   * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   */

  (function (Joomla, document) {
    document.addEventListener('DOMContentLoaded', function () {
      var btn = document.getElementById('btn-login-submit');
      if (btn) {
        btn.addEventListener('click', function (event) {
          event.preventDefault();
          if (document.formvalidator.isValid(btn.form)) {
            Joomla.submitbutton('login');
          }
        });
      }
    });
  })(window.Joomla, document);

})();

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