CoreFiles by mySites.guru
admin-field-typehaschanged-es5.js17 lines, 522 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
8adb35718acde1953540985b0d1e73af
sha1
587d86a6f9564b0f53c9575b9266473576a9c3cb
sha256
eaeeca98bb2e7742869d2dec1857ee334ca5e1808adec723eda793dc9745a97e
(function () {
  'use strict';

  /**
   * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   */
  (function (Joomla) {
    Joomla.typeHasChanged = function (element) {
      // Display the loading indication
      document.body.appendChild(document.createElement('joomla-core-loader'));
      document.querySelector('input[name=task]').value = 'field.reload';
      element.form.submit();
    };
  })(Joomla);

}());

The same content is in 23 releases, Joomla 4.0.0-rc1 to 4.1.0-beta2. See them all, or every version of this file.