Re: Javascript weirdness
By: deon to Digital Man on Wed Apr 20 2022 08:09 am
Re: Javascript weirdness
By: Digital Man to deon on Mon Apr 18 2022 09:37 pm
Thanks - I emailed it to you - please let me know if you didnt get it.
Has not arrived yet. <shrug>
Not get it yet? I sent it to rob at synchro dot net.
Got it. I'll take a look-see.
Originally I was iterating through through that result to update the messages, but I was noticing the following behaviour:
* call get_all_msg_headers()
* iterate through each item "for (hdr in hdrs)"
* set hdr.tag to "foo"
* pass hdr to put_msg_header();
But the items were not updating.
Does put_msg_header() return false when you try to use it in that manner?
Originally I was iterating through through that result to update the messages, but I was noticing the following behaviour:
* call get_all_msg_headers()
* iterate through each item "for (hdr in hdrs)"
* set hdr.tag to "foo"
* pass hdr to put_msg_header();
But the items were not updating.
Does put_msg_header() return false when you try to use it in that manner?
So I cant reproduce this now. I'll revert my code to use get_all_msg_headers and if I can reproduce it, I'll provide a log and the
status returned.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 137:57:25 |
Calls: | 166 |
Files: | 5,387 |
Messages: | 223,165 |