The captureKeyEvents() method in dynkeyevent.js
contains the code:
DynElement.prototype.captureKeyEvents=function() {
var
elm=(this.getClassName()=='DynLayer')?this.elm:this.doc;
which works fine if you want to capture key events on
the DynDocument or a DynLayer, but fails for all other
classes.
This is a corrected version:
DynElement.prototype.captureKeyEvents=function() {
var
elm=(this.getClassName()=='DynDocument')?this.doc:this.elm;
The corrected version allows you to capture key events
on any subclass of DynElement.