Skip to main content

Bug Tracker

Side navigation

#2527 closed bug (fixed)

Opened March 15, 2008 07:10PM UTC

Closed April 04, 2008 02:04PM UTC

[ui.sortable] ui.sender

Reported by: neojp Owned by: paul
Priority: minor Milestone:
Component: ui Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Sometimes ui.sender is not passed on change events.

console.info(ui.sender);
Attachments (0)
Change History (3)

Changed March 15, 2008 10:36PM UTC by paul comment:1

sender is only passed when you move the element into a different container.

Changed March 15, 2008 11:20PM UTC by neojp comment:2

Indeed, it is supposed to do that. Still there are sometimes when it isn't passed; the Layout demo was using it, if you move around a box between different containers you will see that the placeholder is not always been resized.

if(ui.sender){
  var w = ui.element.width();
  ui.placeholder.width(w);
}

Changed April 04, 2008 02:04PM UTC by paul comment:3

resolution: → fixed
status: newclosed