CoreFiles by mySites.guru
admin-associations-default.js16 lines, 469 bytes, from Joomla_5.4.3-Stable-Full_Package.zip
Raw History Compare with 5.4.2
md5
2b27ea1e7882ce9e9d937456e487b331
sha1
b7a668f7e235eca1e806e3fedfaefecbf140c687
sha256
1a992be5f7c7ca11741128c9b1fac0225c164940d4da5e2c8e488e7cb8303dec
/**
 * @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 = pressbutton => {
  if (pressbutton === 'associations.purge') {
    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 76 releases, Joomla 5.4.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.