[wp-hackers] widget select field problems?
steph at sillybean.net
Tue Aug 4 02:19:19 UTC 2009
On Aug 3, 2009, at 9:05 PM, Andrew Ozz wrote:
> Each widget is reloaded after saving. If you look in the ajax return
> (easily done in Firebug), does the html look ok?
Yes. Here's the return:
<select id="widget-randompostsfromcategory-3-content" name="widget-
<option value="title" >Title Only</option>
<option value="excerpt" selected="selected" >Title and Excerpt</
<option value="content" >Title and Content</option>
Here's what actually shows up:
Title and Excerpt
Title and Content
(I hadn't noticed until just now that the </select> tag is missing as
well as the <option>s. How bizarre!)
> There's also a js function to remove the for=".." attribute from all
> labels that have nested form elements like these:
> <label for="baz"><input id="baz" ... /></label> since they are not
> needed there and seem to trigger a bug in sortable.js where nothing
> in the widget can be selected. Don't think that interferes with the
Interesting! Not an issue here, though.
Want me to file this as a bug?
More information about the wp-hackers