projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* add a way for the tabbed api to re-open the same tab on save again.
[citadel.git]
/
webcit
/
tabs.c
diff --git
a/webcit/tabs.c
b/webcit/tabs.c
index d6172de36f9832c7ff512e075b4e47e3d034104b..53b8e87c06558cda72da79918ccb221b664ec4d6 100644
(file)
--- a/
webcit/tabs.c
+++ b/
webcit/tabs.c
@@
-220,6
+220,10
@@
void StrEndTab(StrBuf *Target, int tabnum, int num_tabs) {
"</script>"), 0);
}
}
+ if (HAVEBSTR("last_tabsel"))
+ {
+ StrBufAppendPrintf(Target, "<script type=\"text/javascript\">tabsel(%s);</script>", BSTR("last_tabsel"));
+ }
}