Development

#3171 (Javascript helper sortable_element doesn't work with scrolling.)

You must first sign up to be able to contribute.

Ticket #3171 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Javascript helper sortable_element doesn't work with scrolling.

Reported by: maxmanders Assigned to: FabianLange
Priority: minor Milestone: 1.1.0 beta3
Component: helpers Version: 1.1.0 DEV
Keywords: Javascript sortable_element Cc:
Qualification: Unreviewed

Description

The Symfony Javascript helper sortable_element doesn't support the Scritaculous 'scroll' option. Suggest adding:

if (isset($optionsscroll?)) {

$optionsscroll? = _array_or_string_for_javascript($optionsscroll?);

}

Also, as suggested by Scriptaculous documentation, the return value should be modified such that if scroll is present, "Position.IncludeScrollOffsets? = true;" is echoed before the call to Sortable.create.

Change History

03/20/08 13:38:47 changed by FabianLange

  • owner changed from fabien to FabianLange.
  • status changed from new to assigned.
  • version changed from 1.0.10 to 1.1.0.

i will check this for symfony 1.1. we wont add this to 1.0.x

04/04/08 18:54:38 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [8298]) added support for scrolling sortables. (closes #3171)

04/04/08 19:32:06 changed by fabien

  • milestone set to 1.1.0 beta3.