In the current code in SVN, if you don't have an event description, you get
a clickable event and a empty bubble.
A better option would be to put a test around the
SimileAjax.DOM.registerEvent calls, eg:
if (! /^\s*$/.test(evt.getDescription())) {
SimileAjax.DOM.registerEvent(result.iconElmtData.elmt, "mousedown",
clickHandler);
SimileAjax.DOM.registerEvent(result.labelElmtData.elmt, "mousedown",
clickHandler);
} else {
result.iconElmtData.elmt.style.cursor = "default";
result.labelElmtData.elmt.style.cursor = "default";
}
Original issue reported on code.google.com by mattd%wh...@gtempaccount.com on 23 Dec 2009 at 7:36
Original issue reported on code.google.com by
mattd%wh...@gtempaccount.com
on 23 Dec 2009 at 7:36