[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_menus/js/ -> admin-item-modal-es5.js (source)

   1  (function () {
   2    'use strict';
   3  
   4    /**
   5     * @copyright  (C) 2018 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.setMenuType = function (type, tmpl) {
  12        if (tmpl !== '') {
  13          window.parent.Joomla.submitbutton('item.setType', type);
  14          window.parent.Joomla.Modal.getCurrent().close();
  15        } else {
  16          window.location = "index.php?option=com_menus&view=item&task=item.setType&layout=edit&type=" + type;
  17        }
  18      };
  19    })(Joomla);
  20  
  21  })();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer