CoreFiles by mySites.guru
maps-es5.js23 lines, 659 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
0f70e229b29a37af7e44745694d6ea4d
sha1
da30063967acacdfd6acf1946d559a469e8eaa3c
sha256
3904c45d8e57039048debbbd5e8ff259df1911085d243fcb67c31cabb11eb846
(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 () {
    document.addEventListener('DOMContentLoaded', function () {
      Joomla.submitbutton = function (pressbutton) {
        // @todo replace with joomla-alert
        if (pressbutton === 'map.delete' && !window.confirm(Joomla.Text._('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT'))) {
          return false;
        }
        Joomla.submitform(pressbutton);
        return true;
      };
    });
  })();

})();

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.