User tests: Successful: Unsuccessful:
Pull Request for Issue #38910 .
Use input.value = x
, instead of input.setAttribute('value', x)
Apply patch, run npm install
.
And follow #38910 , or:
Open sample data menus list for Top menu.
Drag "Fruit Shop" to:
3-d position, check frontend - position should change,
then drag to 5-th position, check fronted - position stays 3-rd
Important: do not reload the menu list page.
Order randomly saved wrongly
Order always saved
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
I have tested this item
I could reliably reproduce the issue. It always failed for me when I dragged an item to the very last position of the menu items list. I can confirm the patch solves this.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
NPM Resource Changed
?
|
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-15 08:18:50 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Thanks and just a reference https://stackoverflow.com/questions/29929797/setattribute-doesnt-work-the-way-i-expect-it-to
I have tested this item✅ successfully on b460ee4
I used the Custom URL in Joomla Updater to install this PR.
After that I dragged menu items and featured articles to different possitions.
From what I can see this fixes the order issue.
Thank you.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38935.