Hi DM,
Today I noticed there's a bbs.edit_msg() function that was added in Synchronet 3.18. I tried calling that with a header for an existing message in a sub-board. When my editor came up, it was empty. Should it be editing the existing message contents?
I'm running today's Synchronet build (March 23, 2022) for Windows.
Today I noticed there's a bbs.edit_msg() function that was added in
Synchronet 3.18. I tried calling that with a header for an existing
message in a sub-board. When my editor came up, it was empty. Should
it be editing the existing message contents?
Yes, that's how I use it in msglist.js:
bbs.edit_msg(list[current]);
And that list[] value is a returned object from MsgBase.get_msg_header().
Synchronet 3.18. I tried calling that with a header for an existing
message in a sub-board. When my editor came up, it was empty.
Should it be editing the existing message contents?
Yes, that's how I use it in msglist.js:
bbs.edit_msg(list[current]);
And that list[] value is a returned object from
MsgBase.get_msg_header().
Re: bbs.edit_msg() - Empty message
By: Digital Man to Nightfox on Wed Mar 23 2022 05:45 pm
Today I noticed there's a bbs.edit_msg() function that was added in
Synchronet 3.18. I tried calling that with a header for an existing
message in a sub-board. When my editor came up, it was empty. Should
it be editing the existing message contents?
Yes, that's how I use it in msglist.js:
bbs.edit_msg(list[current]);
And that list[] value is a returned object from MsgBase.get_msg_header().
I'm also passing it an object from MsgBase.get_msg_header(). Does it need to have expanded fields or anything?
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,055 |
Nodes: | 17 (1 / 16) |
Uptime: | 00:10:08 |
Calls: | 501,023 |
Calls today: | 10 |
Files: | 109,384 |
D/L today: |
2,110 files (164M bytes) |
Messages: | 304,873 |
Posted today: | 1 |