js: add data-close-button-text to give a label to the close button (#83616)
gitea/gadjo/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-11-16 17:14:28 +01:00
parent cae86557c5
commit 72f6f0b1b0
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ var gadjo_js = gadjo_js || {};
modal: modal,
'title': title,
width: 'auto',
closeText: $anchor.data('close-button-text') || 'Close',
close: function (ev, ui) {
$(this).dialog('destroy');
},