CoreFiles by mySites.guru
admin-multilangstatus.js29 lines, 892 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
a5dc8208e060f1d807f835418b984398
sha1
9fbb18d0bec1ef7f02bea35d06cfe2485bc2b16e
sha256
2b9110b1e922e1af3a6a587224ab1995e5951712ffec589bdb36512492a3d15f
/**
* 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 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

(function () {
  'use strict';

  document.addEventListener('DOMContentLoaded', function () {
    // 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) {
      // Clone the modal element
      var clone = multilangueModal.cloneNode(true);

      // Remove the original modal element
      multilangueModal.parentNode.removeChild(multilangueModal);

      // Append clone before closing body tag
      document.body.appendChild(clone);
    }
  });
})();

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