CoreFiles by mySites.guru
admin-associations-default-es5.js22 lines, 604 bytes, from Joomla_4.4.5-Stable-Full_Package.zip
Raw History Compare with 4.4.4
md5
10ce4242ccbe534def3d79a7b3cef76e
sha1
d73b41355c5617db3514898dd2067952ea57d929
sha256
3e47244c2c8594ac7c3695aa5846581c61520b0555a83bc218c0732d83c16e3f
(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.submitbutton = function (pressbutton) {
    if (pressbutton === 'associations.purge') {
      // eslint-disable-next-line no-restricted-globals
      if (confirm(Joomla.Text._('COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT'))) {
        Joomla.submitform(pressbutton);
      } else {
        return false;
      }
    } else {
      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.