*/
/**
* \defgroup StickyNotes Functions which handle "sticky notes"
- *
+ * \ingroup WebcitDisplayItems
*/
/*@{*/
#include "webcit.h"
/** Offer in-place editing. */
if (strlen(eid) > 0) {
wprintf("<script type=\"text/javascript\">"
- " new Ajax.InPlaceEditor('note%s', 'updatenote?eid=%s', {rows:5,cols:72}); "
+ "new Ajax.InPlaceEditor('note%s', 'updatenote?nonce=%ld?eid=%s', {rows:5,cols:72});"
"</script>\n",
eid,
+ WC->nonce,
eid
);
}
serv_printf("ENT0 1||0|0||||||%s", bstr("eid"));
serv_getln(buf, sizeof buf);
if (buf[0] == '4') {
- text_to_server(bstr("value"), 0);
+ text_to_server(bstr("value"));
serv_puts("000");
}