CoreFiles by mySites.guru
admin-item-modal-es5.js20 lines, 612 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
145de257396fd3b45b81c08c70b3a770
sha1
ff2997b1bd59aa8bafaca14b413d0ae429aa18d1
sha256
9e12a0b3af730a4d003668e467d1f9a33b8a208be9763081e4ffeb78049450d2
(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
   */
  Joomla = window.Joomla || {};
  (function (Joomla) {
    Joomla.setMenuType = function (type, tmpl) {
      if (tmpl !== '') {
        window.parent.Joomla.submitbutton('item.setType', type);
        window.parent.Joomla.Modal.getCurrent().close();
      } else {
        window.location = "index.php?option=com_menus&view=item&task=item.setType&layout=edit&type=" + type;
      }
    };
  })(Joomla);

})();

The same content is in 57 releases, Joomla 4.3.0-alpha1 to 5.0.0-alpha1. See them all, or every version of this file.