CoreFiles by mySites.guru
admin-multilangstatus.js27 lines, 735 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
61fdc0d2a406091cb977a5d4199b58c5
sha1
f79052520ce5cdc402c88582bed00f636eecdbb3
sha256
a2f47071e33a5872efb7601a37d2d0000dafee1cb5ce41a25cf27bed29920a58
/**
 * @copyright  Copyright (C) 2005 - 2017 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.