bug in checkbox range
February 20, 2008 - 7:52am — abuchanan
| Project: | Field Plug-in |
| Version: | 0.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | DanSwitzer2 |
| Status: | closed |
Description
shift-click with createCheckboxRange only semi works.
to reproduce one odd effect...
1. check the top checkbox
2. shift-click a box in the middle of the list
3. shift-click the next box
4. the checked boxes will extend past the box you last checked

Comments
#1
patch attached.
problem was with chaining selectors :lt():gt()
:lt() returns a new array, so :gt() acts on the new array, not the old one
#2
This is fixed in v0.8.
#3