Skip to main content

Search and Top Navigation

#6976 closed bug (fixed)

Opened February 12, 2011 12:54AM UTC

Closed February 15, 2011 06:27PM UTC

Last modified February 15, 2011 06:28PM UTC

datepicker creates extra dom element with empty selector

Reported by: loganbailey Owned by:
Priority: minor Milestone: 1.8.10
Component: ui.datepicker Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/NzttC/ created by eTiger13

A dom element(div) is created even though the selector does not have any objects on the page.

This is reproducible in 1.5

Cannot be reproduced in 1.4, 1.3.3, 1.2.6

Attachments (0)
Change History (3)

Changed February 15, 2011 06:27PM UTC by Dan Heberden comment:1

resolution: → fixed
status: newclosed

Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object

Changeset: 5c3dc7d48ae501bd52476bfc45905130577d52c9

Changed February 15, 2011 06:27PM UTC by Dan Heberden comment:2

Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object

(cherry picked from commit 5c3dc7d48ae501bd52476bfc45905130577d52c9)

Changeset: ab7a5b441aab8722429f8333bf8524fea4b00374

Changed February 15, 2011 06:28PM UTC by scottgonzalez comment:3

milestone: 1.91.8.10