workflows: fix default confirmation in choice action (#82406)
gitea/wcs/pipeline/head This commit looks good
Details
gitea/wcs/pipeline/head This commit looks good
Details
This commit is contained in:
parent
070fa0997d
commit
7443515226
|
@ -69,7 +69,7 @@ $(function() {
|
|||
function prepare_confirmation_buttons() {
|
||||
$('button[data-ask-for-confirmation]').off('click').on('click', function() {
|
||||
var text = $(this).data('ask-for-confirmation');
|
||||
if (text === 'true') {
|
||||
if (text === true) {
|
||||
text = WCS_I18N.confirmation;
|
||||
}
|
||||
if (confirm(text) != true) {
|
||||
|
|
Loading…
Reference in New Issue