Skip to main content

Search and Top Navigation

#1783 closed bug (fixed)

Opened October 08, 2007 11:36AM UTC

Closed December 27, 2007 03:04PM UTC

Last modified February 26, 2009 11:03AM UTC

Draggable cursor setting does not change

Reported by: tuupola Owned by: rdworth
Priority: minor Milestone: 1.5
Component: ui.core Version:
Keywords: draggable, cursor Cc:
Blocked by: Blocking:
Description

Setting cursor parameter does not work using draggables. Tested with OSX FF2 and Safari.

 $("#something").draggable({
      cursor : "move"
 });

Workaround is to use something like following:

 $("#something").draggable({
     cursor : "move",
     start  : function(event, ui) {
         $(this).css('cursor','move');
     },
     stop  : function(event, ui) {
         $(this).css('cursor','default');
     }      
 });
Attachments (0)
Change History (4)

Changed October 08, 2007 02:25PM UTC by tuupola comment:1

Sorry this is bogus. I was not including ui.draggable.ext.js.

One cosmetic request though. IMO cursor should change on mousedown. Now it changes only after you have started to drag element.

Changed October 24, 2007 09:39AM UTC by rdworth comment:2

owner: → rworth
status: newassigned

Changed December 27, 2007 03:04PM UTC by paul comment:3

resolution: → fixed
status: assignedclosed

Changed February 26, 2009 11:03AM UTC by paul comment:4

milestone: → 1.5