Draggable cursor setting does not change
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');
}
});
Change History (4)
Owner: |
set to rworth
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
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.