Skip to main content

Search and Top Navigation

#4036 closed bug (fixed)

Opened February 02, 2009 06:21AM UTC

Closed February 02, 2009 06:47AM UTC

draggable: cssNamespace option should be removed, addClasses option added

Reported by: rdworth Owned by:
Priority: blocker Milestone: 1.7
Component: ui.draggable Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:
Description

Per team discussion on

http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/30b304c6407f5130

the draggable option 'cssNamespace' should be removed (not deprecated). This option had two intents

1. Allowing for customizing the 'ui-' prefix of all UI css class names added to draggable elements. This is not compatible with the jQuery UI CSS Framework and is not intended for support by the team.

2. Preventing the .addClass("ui-draggable") on many hundreds of elements at init for performance reasons, by setting cssNamespace option to false. Per the same discussion, this should instead be implemented as a new option 'addClasses' with a default value of true.

Attachments (0)
Change History (1)

Changed February 02, 2009 06:47AM UTC by rdworth comment:1

resolution: → fixed
status: newclosed

Fixed in r1957

Docs updated: http://docs.jquery.com/UI/Draggable/draggable