1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00
phorge-phorge/webroot/rsrc
epriestley 7ffddcd136 Fix two bugs with DraggableList
Summary:
Ref T1344. This fixes two issues with DraggableList:

  - In lists which allowed it, you could drag the top item above itself and get a dashed-border ghost item. This didn't make sense and didn't behave well. Just don't treat this operation as valid.
  - In lists which allowed it, you could drag any non-top item to the topmost position, then drag it to an invalid position. The dashed-border ghost item would not be removed properly if this happend.
  - Also fix some minor leftovers with Celerity.

Test Plan:
  - Dragged the first item above itself; now an invalid operation with no ghost.
  - Dragged another item to the first position then back to its original position; ghost vanishes.
  - Clean lint.

Reviewers: chad, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1344

Differential Revision: https://secure.phabricator.com/D7939
2014-01-13 12:23:20 -08:00
..
css Clean up diff view page 2014-01-13 12:17:37 -08:00
externals Add a synthetic DOM event to JX.Workflow for form submission 2013-10-14 11:58:38 -07:00
image New icons for play, pause, etc. 2014-01-05 21:47:21 -08:00
js Fix two bugs with DraggableList 2014-01-13 12:23:20 -08:00
swf Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00