Hi all -
One of the toggle options for a message area is whether or not a user can edit existing messages. I've been looking at Synchronet's JS documentation trying to find a function that will allow a user to edit an existing message, but the docs don't seem to mention a function that would do that. Is
there a way to do that in JavaScript?
If you're looking for a high-level method (where it automatically uses th user's configured editor, etc.) there is no such function. You can howeve the message's text (using the MsgBase class) into a buffer, save to a fil then use the console.editfile() function to edit the contents, load the f contents back into a buffer an duse the MsgBase class to save the modifie message body.
| Sysop: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,151 |
| Nodes: | 17 (1 / 16) |
| Uptime: | 35:19:47 |
| Calls: | 509,178 |
| Calls today: | 14 |
| Files: | 292,083 |
| D/L today: |
46,042 files (11,256M bytes) |
| Messages: | 468,452 |
| Posted today: | 4 |