]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/mailsummary_json.html
Adjust the folder counters when reading / deleting / moving messages
[citadel.git] / webcit / static / t / mailsummary_json.html
index 9f2b72e2ee35832081bf0d6cae5ac661973ee236..0129a48ca1efc72ca9c26606374e7378f6467f3f 100644 (file)
@@ -1,5 +1,7 @@
-{ "nummsgs": <?READLOOP:TOTALMSGS>,
-"startmsg": <?READLOOP:STARTMSG>,
-"roomname": "<?ROOMNAME>",
-"msgs": [ <?ITERATE("MAIL:SUMM:MSGS", "mailsummary_json_section", 0, B("startmsg"), B("maxmsgs"))> ]
+{ "nummsgs": <?BSTR("__READLOOP:TOTALMSGS")>,
+"newmsgs": <?BSTR("__READLOOP:NEWMSGS")>,
+"startmsg": <?BSTR("__READLOOP:STARTMSG")>,
+"roomname": "<?THISROOM:NAME("J")>",
+"msgs": [ <?ITERATE("MAIL:SUMM:MSGS", ="mailsummary_json_section",
+B("startmsg"), 0, B("stopmsg"))> ]
 }