CoreFiles by mySites.guru
maps-es5.js24 lines, 660 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
e0574451e67c04e9912e68f9f1a9ded2
sha1
17ca569031db93551255943ca77eafb9d90d673b
sha256
6e963a2d0055a5f8a1381224647bab8d155472b67f7841fb98d714c0da66c624
(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.JText._('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT'))) {
          return false;
        }

        Joomla.submitform(pressbutton);
        return true;
      };
    });
  })();

}());

No other release has this exact content. See every version of this file.