Open
Bug 115296
Opened 23 years ago
Updated 2 years ago
Persist should work for items created by JS (attribute persistance for dynamically created content)
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
NEW
Future
People
(Reporter: mikeypotter, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.56 KB,
application/vnd.mozilla.xul+xml
|
Details |
For XUL items that are built from JS, the "persist" attribute should still work. For eg. I have a tree that I make completely from JS. Currently if I setAttribute( "persist", "open" ) on one of the tree items, it does not respect that. If I build the tree from XUL, it would respect it. I think before it appends the item to the body it should check for the persist attribute of any items its appending. I've got a test case that might be useful. I'll attach it to this bug.
Reporter | ||
Comment 1•23 years ago
|
||
In the test case, the text "This is my text" is being set by XUL, and the text "This is my 2nd text" is being set by JS. Notice that if you hide them both, then press reload, the first text does not show but the second text (created dynamically by JS) does.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 3•19 years ago
|
||
(adding keywords to make it easier to find)
OS: Linux → All
Hardware: PC → All
Summary: Persist should work for items created by JS → Persist should work for items created by JS (attribute persistance for dynamically created content)
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
Updated•15 years ago
|
Assignee: hyatt → nobody
Updated•14 years ago
|
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•