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,
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 */
}
uid_of_note_being_resized = '';
- return true;
+ return false; // disable the default action
}
function NotesResizeMouseMove(evt) {
saved_x = x;
saved_y = y;
note_was_resized = 1;
- return true;
+ return false; // disable the default action
}