Opened 16 years ago

Closed 15 years ago

#2221 closed defect (fixed)

dojo.byId(...) returns null if node-id is defined in a toolbarTemplatePath in editor

Reported by: guest Owned by: anonymous
Priority: high Milestone: 0.9
Component: General Version: 0.4.1
Keywords: toolbarTemplatePath byId null Cc:
Blocked By: Blocking:


In FF2 dojo.byId(...) returns null if a node-id is defined in a toolbarTemplatePath in editor. Example:

... <span id="copyNode" class="iconContainer dojoEditorToolbarItem" dojoETItemName="paste"> <span class="dojoE2TBIcon dojoE2TBIcon_Paste">&nbsp;</span> </span> ...

In IE7 dojo.byId("copyNode") returns the node as expected.

In FF2 the return value is null.

This would be usefull to dynamically remove toolbarItems.

Change History (1)

comment:1 Changed 15 years ago by alex

Resolution: fixed
Status: newclosed

toolbars are no longer constructed this way. Marking fixed.

Note: See TracTickets for help on using tickets.