projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e007a3
)
* terminate the two mbox views the right way [tm]
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 13 Oct 2009 21:47:30 +0000
(21:47 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 13 Oct 2009 21:47:30 +0000
(21:47 +0000)
webcit/msg_renderers.c
patch
|
blob
|
history
diff --git
a/webcit/msg_renderers.c
b/webcit/msg_renderers.c
index cc594541379e48b5135079a6aa62864746c3db00..4aaeefe06468c3019bfe59f0f9b5d05d1b5cc0c9 100644
(file)
--- a/
webcit/msg_renderers.c
+++ b/
webcit/msg_renderers.c
@@
-1238,7
+1238,6
@@
readloop_struct rlid[] = {
/* Spit out the new summary view. This is basically a static page, so clients can cache the layout, all the dirty work is javascript :) */
void new_summary_view(void) {
DoTemplate(HKEY("msg_listview"),NULL,&NoCtx);
/* Spit out the new summary view. This is basically a static page, so clients can cache the layout, all the dirty work is javascript :) */
void new_summary_view(void) {
DoTemplate(HKEY("msg_listview"),NULL,&NoCtx);
- DoTemplate(HKEY("trailing"),NULL,&NoCtx);
}
}
@@
-1275,7
+1274,9
@@
int mailview_RenderView_or_Tail(SharedMessageStatus *Stat,
{
WCTemplputParams SubTP;
{
WCTemplputParams SubTP;
- DoTemplate(HKEY("mailsummary_json"),NULL, &SubTP);
+ if (WC->is_ajax)
+ DoTemplate(HKEY("mailsummary_json"),NULL, &SubTP);
+
return 0;
}
return 0;
}
@@
-1283,10
+1284,11
@@
int mailview_Cleanup(void **ViewSpecific)
{
/* Note: wDumpContent() will output one additional </div> tag. */
/* We ought to move this out into template */
{
/* Note: wDumpContent() will output one additional </div> tag. */
/* We ought to move this out into template */
- if (WC->is_ajax)
+ if (WC->is_ajax)
end_burst();
else
wDumpContent(1);
end_burst();
else
wDumpContent(1);
+
return 0;
}
return 0;
}