We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe22a26 commit db9ba58Copy full SHA for db9ba58
1 file changed
htdocs/js/pages/Events.class.js
@@ -3201,13 +3201,13 @@ Page.Events = class Events extends Page.PageUtils {
3201
});
3202
}
3203
else {
3204
- // new token, create plain key for copying
+ // new token (or user hasn't saved yet), offer plain key for copying
3205
html += this.getFormRow({
3206
id: 'd_et_magic_token',
3207
label: 'Magic Links:',
3208
content: this.getFormText({
3209
id: 'fe_et_magic_token',
3210
- value: get_unique_id(64),
+ value: trigger.key || get_unique_id(64),
3211
style: 'display:none',
3212
'data-plainkey': '1'
3213
}) + `<div class="button small secondary" onClick="$P().copyMagicLink()"><i class="mdi mdi-link-variant-plus"> </i>Copy Direct Link</div>` +
0 commit comments