Skip to main content

Search and Top Navigation

#2527 closed bug (fixed)

Opened March 15, 2008 07:10PM UTC

Closed April 04, 2008 02:04PM UTC

Last modified February 26, 2009 11:05AM UTC

[ui.sortable] ui.sender

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

Sometimes ui.sender is not passed on change events.

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

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

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

milestone: → 1.5