CoreFiles by mySites.guru
admin-field-typehaschanged.js13 lines, 444 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
e84fa7c3b48973d107047fc66409a005
sha1
2dff1b70dd367ebc20666f6e3b93c222b355cacc
sha256
8bfeb0f40cd5f7fa698f4ad57c0b32b0c8d5c63e9adfc0d3a0fe122031c2dcce
/**
 * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
(Joomla => {

  Joomla.typeHasChanged = 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 279 releases, Joomla 4.0.0-rc1 to 6.2.1-rc1. See them all, or every version of this file.