js: add data-close-button-text to give a label to the close button (#83616)
gitea/gadjo/pipeline/head This commit looks good
Details
gitea/gadjo/pipeline/head This commit looks good
Details
This commit is contained in:
parent
cae86557c5
commit
72f6f0b1b0
|
@ -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');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue