projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* copy daves great handler script and modify it to fit the simpler needs of webcit.
[citadel.git]
/
webcit
/
notes.c
diff --git
a/webcit/notes.c
b/webcit/notes.c
index 7478813d971ceae17c0b042a6a7d2c44045fc64d..497251d3997c81e25e910e207b0e8c2aa9b42075 100644
(file)
--- a/
webcit/notes.c
+++ b/
webcit/notes.c
@@
-379,3
+379,11
@@
void add_new_note(void) {
readloop("readfwd");
}
+
+void
+InitModule_NOTES
+(void)
+{
+ WebcitAddUrlHandler(HKEY("add_new_note"), add_new_note, 0);
+ WebcitAddUrlHandler(HKEY("ajax_update_note"), ajax_update_note, 0);
+}