X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fnotes.c;h=9a090245c573fa50dfa4e726aaf7fd206d0a4c52;hb=4cf8fa7b98afc1fda83d5eca0e1151a8f529e1bc;hp=d08b0777fca208e7e9d9a3900bbaaa17e42a0488;hpb=143b289ff10be417e2fe96664d4754271100d2e7;p=citadel.git
diff --git a/webcit/notes.c b/webcit/notes.c
index d08b0777f..9a090245c 100644
--- a/webcit/notes.c
+++ b/webcit/notes.c
@@ -75,8 +75,8 @@ void display_vnote_div(struct vnote *v) {
escputs(v->body);
wprintf("\n"); // end body div
- wprintf("\n");
-
-
wprintf("
uid); // begin resize handle div
wprintf("class=\"stickynote_resize\" ");
@@ -351,12 +348,14 @@ void display_note(long msgnum, int unread) {
/* uncomment these lines to see ugly debugging info
- wprintf("");
+ StrBufAppendPrintf(WC->trailing_javascript,
+ "document.write('L: ' + $('note-%s').style.left + '; ');", v->uid);
+ StrBufAppendPrintf(WC->trailing_javascript,
+ "document.write('T: ' + $('note-%s').style.top + '; ');", v->uid);
+ StrBufAppendPrintf(WC->trailing_javascript,
+ "document.write('W: ' + $('note-%s').style.width + '; ');", v->uid);
+ StrBufAppendPrintf(WC->trailing_javascript,
+ "document.write('H: ' + $('note-%s').style.height + '
');", v->uid);
*/
vnote_free(v);