CoreFiles by mySites.guru
admin-multilangstatus-es5.js24 lines, 711 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
2349641c250790b3ca30ddaecc24f489
sha1
7f1c5b044a2d198e8a0f386d860a94ff2b97274f
sha256
572e22659b30d85e07e84aa6b3a9a53a06b75ab617a898a516caab84d56c4220
(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
   */
  // We need to use JS to move the modal before the closing body tag to avoid stacking issues
  var multilangueModal = document.getElementById('multiLangModal');

  if (multilangueModal) {
    var bsModal = bootstrap.Modal.getInstance(multilangueModal);

    if (bsModal) {
      bsModal.dispose();
    } // Append the modal before closing body tag


    document.body.appendChild(multilangueModal); // Modal was moved so it needs to be re initialised

    Joomla.initialiseModal(multilangueModal);
  }

}());

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.