[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 (function () { 2 'use strict'; 3 4 /** 5 * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> 6 * @license GNU General Public License version 2 or later; see LICENSE.txt 7 */ 8 Joomla = window.Joomla || {}; 9 10 (function (Joomla) { 11 Joomla.toggleAll = function () { 12 var checkBoxes = [].slice.call(document.querySelectorAll('.chk-menulink')); 13 checkBoxes.forEach(function (checkBox) { 14 checkBox.checked = !checkBox.checked; 15 }); 16 }; 17 18 Joomla.toggleMenutype = function (a) { 19 var checkBox = [].slice.call(document.getElementsByClassName("menutype-" + a)); 20 checkBox.forEach(function (element) { 21 element.checked = !element.checked; 22 }); 23 }; 24 })(Joomla); 25 26 })();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |