Opened 14 years ago
Closed 14 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: |
Description
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"> </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.
Note: See
TracTickets for help on using
tickets.
toolbars are no longer constructed this way. Marking fixed.