[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_finder/js/ -> maps.js (source)

   1  /**
   2   * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   3   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   4   */
   5  Joomla = window.Joomla || {};
   6  
   7  (() => {
   8  
   9    document.addEventListener('DOMContentLoaded', () => {
  10      Joomla.submitbutton = pressbutton => {
  11        // @todo replace with joomla-alert
  12        if (pressbutton === 'map.delete' && !window.confirm(Joomla.Text._('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT'))) {
  13          return false;
  14        }
  15  
  16        Joomla.submitform(pressbutton);
  17        return true;
  18      };
  19    });
  20  })();


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