33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 19:09:00 +00:00

Add default for reset string

This commit is contained in:
Michael Babker 2017-02-04 10:10:27 -06:00
parent f148810aaf
commit 85500cd9a3

View File

@ -46,7 +46,7 @@ if (typeof Joomla === 'undefined') {
}; };
Joomla.submitbutton = function (task) { Joomla.submitbutton = function (task) {
if (task != 'reset' || confirm(Joomla.JText._('COM_PATCHTESTER_CONFIRM_RESET'))) { if (task != 'reset' || confirm(Joomla.JText._('COM_PATCHTESTER_CONFIRM_RESET', 'Resetting will attempt to revert all applied patches and removes all backed up files. This may result in a corrupted environment. Are you sure you want to continue?'))) {
Joomla.submitform(task); Joomla.submitform(task);
} }
}; };