? ? Pending

User tests: Successful: Unsuccessful:

avatar Harmageddon
Harmageddon
29 Sep 2020

Summary of Changes

This PR is an adaptation of the nice JS modal fix #25147 for version 3.x. By calling the script from the button layout instead of every single view using versions, I hope it to be even more elegant (but let me know if this has some flaws I forgot about).

Testing Instructions

  1. In backend, edit an article.
  2. Scroll the page down until the toolbar switches to the sticky mode (so it follows the scrolling).
  3. Click on the "Versions" button.

To test this to full extent, you might want to test this editing the following items:

  • Banner
  • Banner Client
  • Category
  • Contact
  • Article
  • Newsfeed
  • Tag
  • User Note

Please test in Hathor as well to make sure the PR doesn't break anything there, and modals still work.

Actual result BEFORE applying this Pull Request

The article versions are displayed behind the modal backdrop.
joomla-content-versions-modal-backdrop

Expected result AFTER applying this Pull Request

The article versions should be displayed on top of the dark background.

Documentation Changes Required

None

avatar Harmageddon Harmageddon - open - 29 Sep 2020
avatar Harmageddon Harmageddon - change - 29 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Sep 2020
Category Administration Templates (admin) JavaScript
avatar Harmageddon Harmageddon - change - 29 Sep 2020
The description was changed
avatar Harmageddon Harmageddon - edited - 29 Sep 2020
avatar richard67
richard67 - comment - 30 Sep 2020

Actual result BEFORE applying this Pull Request
The article versions should be displayed on top of the dark background.

Expected result AFTER applying this Pull Request
The article versions are displayed behind the modal backdrop.

@Harmageddon Can it be that you've mixed up actual and expected result?

avatar Harmageddon Harmageddon - change - 30 Sep 2020
The description was changed
avatar Harmageddon Harmageddon - edited - 30 Sep 2020
avatar Harmageddon
Harmageddon - comment - 30 Sep 2020

Actual result BEFORE applying this Pull Request
The article versions should be displayed on top of the dark background.
Expected result AFTER applying this Pull Request
The article versions are displayed behind the modal backdrop.

@Harmageddon Can it be that you've mixed up actual and expected result?

Yes, apparently. :-D Fixed it, thank you! :-)

avatar ChristineWk ChristineWk - test_item - 30 Sep 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 30 Sep 2020

I have tested this item successfully on 4f40bb0

Confirm successful test with: Template Isis.
Created Versions for Article/Category/Banner/Contact/Newsfeeds/Tag

Template Hathor: Not possible to check: "Scroll the page down until the toolbar switches to the sticky mode (so it follows the scrolling)" as there was No sticky mode.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30806.
avatar Harmageddon Harmageddon - change - 1 Oct 2020
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 1 Oct 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 1 Oct 2020

I have tested this item successfully on a8babe8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30806.

avatar jwaisner jwaisner - test_item - 1 Oct 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 1 Oct 2020

I have tested this item successfully on a8babe8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30806.

avatar jwaisner jwaisner - change - 1 Oct 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 1 Oct 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30806.

avatar HLeithner HLeithner - change - 1 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-01 17:07:59
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 1 Oct 2020
avatar HLeithner HLeithner - merge - 1 Oct 2020
avatar HLeithner
HLeithner - comment - 1 Oct 2020

Thanks even if I think an entire file for one line js code is a bit much ok ;)

Add a Comment

Login with GitHub to post a comment