3.2.0

on right click fires 3 times?

Hi,

I tried adding an on context hander method like so:

var MyList = new AW.UI.List;
MyList .setEvent("oncontextmenu", myRightClick);

function myRightClick(event){
event.cancelBubble = true;
event.returnValue = false;
this.action("contextmenu");
alert("hello");
}

but the myRightClick event fires 3 times for one right mouse click.. any idea what's going on? Also, this could work ok for right clicks on the list that don't intersect with any list items - is there anything I can do to capture a right click on a particlar list item?

Thanks
DJ AM Juicebox
March 17,

This topic is archived.

See also:


Back to support forum