mirror of
https://github.com/mjl-/mox.git
synced 2025-02-05 02:38:32 +03:00
webadmin: after looking up cid, show it
seems like the useful line of that functionality got lost...
This commit is contained in:
parent
5f00f7662e
commit
78a59b3476
2 changed files with 4 additions and 2 deletions
|
@ -2034,7 +2034,8 @@ const index = async () => {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
dom._kids(cidElem);
|
||||
await check(recvIDFieldset, client.LookupCid(recvID.value));
|
||||
const cid = await check(recvIDFieldset, client.LookupCid(recvID.value));
|
||||
dom._kids(cidElem, cid);
|
||||
}, recvIDFieldset = dom.fieldset(dom.label('Received ID', attr.title('The ID in the Received header that was added during incoming delivery.')), ' ', recvID = dom.input(attr.required('')), ' ', dom.submitbutton('Lookup cid', attr.title('Logging about an incoming message includes an attribute "cid", a counter identifying the transaction related to delivery of the message. The ID in the received header is an encrypted cid, which this form decrypts, after which you can look it up in the logging.')), ' ', cidElem = dom.span()))),
|
||||
// todo: routing, globally, per domain and per account
|
||||
dom.br(), dom.h2('Configuration'), dom.div(dom.a('Routes', attr.href('#routes'))), dom.div(dom.a('Webserver', attr.href('#webserver'))), dom.div(dom.a('Files', attr.href('#config'))), dom.div(dom.a('Log levels', attr.href('#loglevels'))), footer);
|
||||
|
|
|
@ -411,7 +411,8 @@ const index = async () => {
|
|||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
dom._kids(cidElem)
|
||||
await check(recvIDFieldset, client.LookupCid(recvID.value))
|
||||
const cid = await check(recvIDFieldset, client.LookupCid(recvID.value))
|
||||
dom._kids(cidElem, cid)
|
||||
},
|
||||
recvIDFieldset=dom.fieldset(
|
||||
dom.label('Received ID', attr.title('The ID in the Received header that was added during incoming delivery.')), ' ',
|
||||
|
|
Loading…
Reference in a new issue