X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fnotes.c;h=cfee05776dce893b4190be7eb98edcb322cd503f;hb=8b15ba21b25ea45e21d5a4f10a8c5be108a54f77;hp=e1e3042a22616114595a5dbeed5d9db9fc957237;hpb=d872e3d20330a9376be0974ab18618444a9efcb5;p=citadel.git diff --git a/webcit/notes.c b/webcit/notes.c index e1e3042a2..cfee05776 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -164,11 +164,11 @@ void updatenote(void) /* * Display a
", msgnum); + wprintf(" | "); // nothing in the title bar, it's just for dragging wprintf(" | ");
- wprintf("document.write('L: ' + $('note%ld').style.left + ' ');", msgnum); - wprintf("document.write('T: ' + $('note%ld').style.top + ' ');", msgnum); - wprintf("document.write('W: ' + $('note%ld').style.width + ' ');", msgnum); - wprintf("document.write('H: ' + $('note%ld').style.height + ' ');", msgnum); + wprintf("document.write('L: ' + $('note-%s').style.left + ' ');", v->uid); + wprintf("document.write('T: ' + $('note-%s').style.top + ' ');", v->uid); + wprintf("document.write('W: ' + $('note-%s').style.width + ' ');", v->uid); + wprintf("document.write('H: ' + $('note-%s').style.height + ' ');", v->uid); wprintf(""); + /* */ + vnote_free(v); } } } |