Hi guys,
I am trying to use javascript events in my Editor.
Editor.attachEvent("onmousedown",richtextClick);
Editor.attachEvent("ondblclick",richtextDoubleClick);
Editor.attachEvent("ondeactivate",richtextUpdate);
Editor.body.attachEvent("onbeforepaste",richtextBeforePasteOptions);
Editor.body.attachEvent("onpaste",richtextPasteOptions);
Now if a person tries to paste (using Ctrl+V), I pop up a message for instructions. However, for some strange reason, if I try to right click in the Editor, I get the message that's being used for onpastebefore TWICE (should be just once)!.
Help needed!!
Thanks!
I am trying to use javascript events in my Editor.
Editor.attachEvent("onmousedown",richtextClick);
Editor.attachEvent("ondblclick",richtextDoubleClick);
Editor.attachEvent("ondeactivate",richtextUpdate);
Editor.body.attachEvent("onbeforepaste",richtextBeforePasteOptions);
Editor.body.attachEvent("onpaste",richtextPasteOptions);
Now if a person tries to paste (using Ctrl+V), I pop up a message for instructions. However, for some strange reason, if I try to right click in the Editor, I get the message that's being used for onpastebefore TWICE (should be just once)!.
Help needed!!
Thanks!