Side navigation
#2961 closed bug (invalid)
Opened May 29, 2008 10:54PM UTC
Closed May 29, 2008 11:21PM UTC
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:
1. Click on the Test button. It will remove the content of the dropdown.
2. Click on the Test2 button. It will do nothing.
Refresh the page
1. Clock on the Test2 button. Verify that colorado is added to the drop down.
2. Click on the Test button. It will remove the content of the dropdown.
3. Click on the Test2 button agian. It will not be able to add the colorado to dropdown
Attachments (1)
Change History (1)
Changed May 29, 2008 11:21PM UTC by comment:1
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.