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:
parent
f148810aaf
commit
85500cd9a3
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user