* Eliminated the sometimes-wonky resize behavior by changing
[citadel.git] / webcit / notes.c
index 5954fd8f09036684f361244d281a63aa2f284d32..47249b5b69c6c93bb34326e3ef13490f5e4d4308 100644 (file)
@@ -103,7 +103,7 @@ void display_vnote_div(struct vnote *v) {
 
        wprintf("<script type=\"text/javascript\">");
        wprintf(" new Ajax.InPlaceEditor('notebody-%s', 'ajax_update_note?note_uid=%s', "
-               "{rows:%d,cols:%d,"
+               "{rows:%d,cols:%d,onEnterHover:false,onLeaveHover:false,"
                "okText:'%s',cancelText:'%s',clickToEditText:'%s'});",
                v->uid,
                v->uid,
@@ -120,11 +120,7 @@ void display_vnote_div(struct vnote *v) {
        wprintf("<div id=\"resize-%s\" ", v->uid);
        wprintf("class=\"stickynote_resize\" ");
        wprintf("onMouseDown=\"NotesResizeMouseDown(event,'%s')\"", v->uid);
-       wprintf(">");
-
-       wprintf("<img src=\"static/resizecorner.png\">");
-
-       wprintf("</div>\n");
+       wprintf("> </div>");
 
        /* end of note */