Opened 15 years ago
Closed 15 years ago
#2961 closed bug (invalid)
Empty() makes the field unusable.
Reported by: | arustgi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Refer to the simple HTML file attached:
Once you call the empty function on the the drop down, you can not manipulate it it any other manner. In the attached html, once I click on the test button, i cannot manipulate the contents of the dropdown.
To reproduce:
- Click on the Test button. It will remove the content of the dropdown.
- Click on the Test2 button. It will do nothing.
Refresh the page
- Clock on the Test2 button. Verify that colorado is added to the drop down.
- Click on the Test button. It will remove the content of the dropdown.
- Click on the Test2 button agian. It will not be able to add the colorado to dropdown
Attachments (1)
Change History (2)
Changed 15 years ago by
Attachment: | HTMLPage1.htm added |
---|
comment:1 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Well obviously! wrapInner wraps the children inside an element. You can't "wrapInner" with no children. In that case, you are meant to simply use append.
I'll close this as invalid. Checked the source and this is the expected behavior, definitely not a bug.
Note: See
TracTickets for help on using
tickets.
Test File to reproduce behavior