User tests: Successful: Unsuccessful:
To make sure only the order[] input field is updated and not any other (hidden) input text fields, it would be best to change the selector that picks up the input field that gets the updated order.
Labels |
Added:
?
|
Category | ⇒ | JavaScript |
Testing instructions on how to test this code change is quite simple: in com_content, com_categories or any other component that has a list view and is sortable by dragging and dropping, try to sort the order of items (you need a bootstrapped template for this in the administrator like ISIS).
Testing instructions that show how the original code will cause problems and where the proposed fix will solve this are not possible in vanilla Joomla. This is something we came across when building a very specialised component for a client of us.
The proposal is more or less a "it is a bit less messy" kind of proposal and makes the sortablelist code functioning even under "extreme" circumstances I guess.
Category | JavaScript | ⇒ | Fields JavaScript |
Milestone |
Added: |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-09 06:06:20 |
Closed_By | ⇒ | roland-d |
Merged on review. Thank you.
Could you give some testing instructions using vanilla Joomla ?