[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_finder/js/ -> filters-es5.js (source)

   1  (function () {
   2    'use strict';
   3  
   4    /**
   5     * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   6     * @license     GNU General Public License version 2 or later; see LICENSE.txt
   7     */
   8    (function (Joomla) {
   9      if (!Joomla) {
  10        window.Joomla = {};
  11      }
  12  
  13      var onBoot = function onBoot() {
  14        Joomla.submitbutton = function (pressbutton) {
  15          if (pressbutton === 'filters.delete' && !window.confirm(Joomla.Text._('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'))) {
  16            return false;
  17          }
  18  
  19          Joomla.submitform(pressbutton);
  20          return true;
  21        }; // Cleanup
  22  
  23  
  24        document.addEventListener('DOMContentLoaded', onBoot);
  25      };
  26  
  27      document.addEventListener('DOMContentLoaded', onBoot);
  28    })(Joomla);
  29  
  30  })();


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