Opened 15 years ago
Closed 15 years ago
#357 closed defect (fixed)
LinkToView cannot be displayed on Statusbar
Reported by: | liuar | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 2.0 |
Component: | Widgets | Version: | 1.1.1 |
Severity: | Major | Keywords: | |
Cc: | jennyhe | Browser: | All |
External ID: | 1297286 | Operating System: | All |
state: | New |
Description
- Add linktoview to Status Bar panel.
- Open the flexible web layout in IE.
Results:
Nothing display on the status bar.
Expected results:
It should be displayed as "LinkToView".
Attachments (1)
Change History (3)
comment:1 by , 15 years ago
Summary: | LinkToView cannot be displayed on Statusba → LinkToView cannot be displayed on Statusbar |
---|
by , 15 years ago
Attachment: | LinkToView.patch added |
---|
comment:2 by , 15 years ago
Milestone: | Future → 2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
patch has been applied to trunk
Note:
See TracTickets
for help on using tickets.
Analysis:
In revision 1733, this.domObj.appendChild(this.anchor) was removed from the initializeWidget function and added to the setUiObj function. if the LinkToView widget is added to StatusBar, it will not be assigned any uiClass, so the setUiObj function will never be called. That's why the widget can not be displayed on StatusBar.
Resolution:
If the widget has domObj at initialize time, we just append it to the domObj, else wait until setUiObj is called.