From: SourceForge.net <no...@so...> - 2003-11-29 18:40:56
|
Patches item #848932, was opened at 2003-11-25 14:25 Message generated for change (Comment added) made by emailtotom You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=404020&aid=848932&group_id=32034 Category: None Group: 0.7.x >Status: Closed Resolution: None Priority: 5 Submitted By: Matthieu PAINEAU (leyeti) Assigned to: Thomas Bley (emailtotom) Summary: right click for contextmenu in webmail2 Initial Comment: Hi, i don't know if it's a patch or a feature.. Currently, in webmail2, if we left-click on a folder, we have a context menu, but if we right-click, we have the browser's contextmenu. I have changed this : now, left or right click on a folder icon opens the webmail2 context menu, and right click on the text of a folder too. I have tested with netscape and msie. To do this, change ftiens4.js : replace code between line 355 and 362 by this : if (isTextLink) { docW += "<a href='#' onclick='" + linkset + "' TARGET=_top " if (document.layers) { // netscape document.captureEvents (Event.MOUSEDOWN); docW += " onMouseout='delayhidemenu()' onmousedown='if (which == 3) {showmenu (event,"+this.account+","+this.idnum+"); return false;}' "; } else { docW += " onMouseout='delayhidemenu()' oncontextmenu='showmenu (event,"+this.account+","+this.idnum+"); return false;' "; } docW += "id=\itemTextLink"+this.id+"\ "; } else { if (document.layers) { // netscape document.captureEvents (Event.MOUSEDOWN); docW = docW + "<a href='#' onMouseout='delayhidemenu()' onclick='showmenu (event,"+this.account+","+this.idnum+"); return false;' onmousedown='showmenu (event,"+this.account+","+this.idnum+"); return false;' TARGET=_top "; } else { docW = docW + "<a href='#' onMouseout='delayhidemenu()' onclick='showmenu (event,"+this.account+","+this.idnum+"); return false;' onmouseup='showmenu (event,"+this.account+","+this.idnum+"); return false;' oncontextmenu='showmenu (event,"+this.account+","+this.idnum+"); return false;' TARGET=_top "; } } ---------------------------------------------------------------------- Comment By: Thomas Bley (emailtotom) Date: 2003-11-29 19:40 Message: Logged In: YES user_id=560036 Your patch has been accepted and added to CVS. Check out CVS or fetch a CVS snapshot to see the new code. -- more.groupware developer team ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=404020&aid=848932&group_id=32034 |