From: SourceForge.net <no...@so...> - 2005-09-26 17:05:24
|
Bugs item #1305011, was opened at 2005-09-26 17:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1305011&group_id=5757 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fausto (fausto99) Assigned to: Nobody/Anonymous (nobody) Summary: DynElement.captureKeyEvents bug (Part 2) Initial Comment: the dynkeyevent.js file has this method: DynKeyEvent._keyEventListener=function(e) and this lines: if(evt.defaultValue==false) { if(e.cancelBubble) e.cancelBubble=true; if(e.stopPropagation) e.stopPropagation(); } I think it should be: if(evt.defaultValue==false) { if(evt.cancelBubble) e.cancelBubble=true; if(evt.stopPropagation) e.stopPropagation(); } note the evt instead of the e. I changed on my code and worked. The goal? allow one to disable propagation of of key events to the higher hierarchy allowing one to "eat" the keys inside a widget. That's how I found out and fixed it. I have many more fixes too. How should I do it? Fausto. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1305011&group_id=5757 |