? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
4 Jul 2018

Pull Request for Issue #20975.

Summary of Changes

This prevents target attribute with empty value being added to links in administrator menu module.

Testing Instructions

Inspect HTML markup generated by administrator menu module.

Expected result

Empty target attribute not added, e.g. <li role="menuitem"><a class="no-dropdown" href="index.php"><span class="sidebar-item-title">Control Panel</span></a></li>

Actual result

Empty target attribute added, e.g. <li role="menuitem"><a class="no-dropdown" href="index.php" target=""><span class="sidebar-item-title">Control Panel</span></a></li>

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 4 Jul 2018
avatar SharkyKZ SharkyKZ - change - 4 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jul 2018
Category Modules Administration
avatar SharkyKZ SharkyKZ - change - 4 Jul 2018
Labels Added: ?
avatar ggppdk
ggppdk - comment - 8 Jul 2018

I have tested this item successfully on 29a2686

Works, no more empty target="" (no more invalid HTML)

Also about target="0" , 0 is an valid frame name , the fact that frames are deprecated in HTML5, is not reason to handle target="0" differently than target="1"


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

avatar ggppdk ggppdk - test_item - 8 Jul 2018 - Tested successfully
avatar Quy
Quy - comment - 8 Jul 2018

I have tested this item successfully on be5cf43


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

avatar Quy Quy - test_item - 8 Jul 2018 - Tested successfully
avatar Quy Quy - change - 8 Jul 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 8 Jul 2018

RTC


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

avatar wilsonge wilsonge - change - 11 Jul 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-11 07:33:33
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 11 Jul 2018
avatar wilsonge wilsonge - merge - 11 Jul 2018

Add a Comment

Login with GitHub to post a comment