CoreFiles by mySites.guru
admin-field-typehaschanged.js19 lines, 617 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
b339ca0d3d15945e5c6aa49845e6e81c
sha1
de4a6456860b6b3e7b21983afe52fcb11e08b70e
sha256
f699d86bca66b772b77d80ecb29bf428eddab65f9d098cceaa4401ca37107761
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
(function (Joomla) {
  'use strict';

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

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