CoreFiles by mySites.guru
filters-es5.js30 lines, 760 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
1f42877acf63ad602fe1736614b829da
sha1
05ed561c1604dd70b5c6cf3958176e322a3cb2de
sha256
55c86dc7c8cdf745655442dbe76940540f7a35d7b02ff9040a31be3f8b53645c
(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
   */
  (function (Joomla) {
    if (!Joomla) {
      window.Joomla = {};
    }

    var onBoot = function onBoot() {
      Joomla.submitbutton = function (pressbutton) {
        if (pressbutton === 'filters.delete' && !window.confirm(Joomla.JText._('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'))) {
          return false;
        }

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


      document.addEventListener('DOMContentLoaded', onBoot);
    };

    document.addEventListener('DOMContentLoaded', onBoot);
  })(Joomla);

}());

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