[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_users/js/ -> two-factor-list-es5.js (source)

   1  (function () {
   2    'use strict';
   3  
   4    /**
   5     * @copyright   (C) 2022 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, window) {
   9      document.addEventListener('DOMContentLoaded', function () {
  10        [].slice.call(document.querySelectorAll('.com-users-methods-list-method-record-delete')).forEach(function (el) {
  11          el.addEventListener('click', function (event) {
  12            if (!window.confirm(Joomla.Text._('JGLOBAL_CONFIRM_DELETE'))) {
  13              event.preventDefault();
  14            }
  15          });
  16        });
  17      });
  18    })(Joomla, window);
  19  
  20  })();


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