CoreFiles by mySites.guru
admin-multilangstatus-es5.js24 lines, 711 bytes, from Joomla_4.2.6-Stable-Full_Package.zip
Raw History Compare with 4.2.5
md5
fcb14eda81d36ff319d9dd441b95f4c7
sha1
8a7876a5426c2964de0e9694ddeb039052e35e10
sha256
4326e2d8b7479fcb900da423e3cee043c803a9c07a8b7a4c663da73b6c85f91c
(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 45 releases, Joomla 4.0.6-rc1 to 4.2.9. See them all, or every version of this file.