? ? Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
19 Apr 2017

Pull Request for Issue #15415.

Summary of Changes

Do not output class attribute if it is empty.

Testing Instructions

Edit an article.
View page source.
Search for class="".
None should be found in <label> tag.

avatar Quy Quy - open - 19 Apr 2017
avatar Quy Quy - change - 19 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2017
Category Layout
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 19 Apr 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Apr 2017

I have tested this item successfully on 5bf6c6d


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2017
Easy No Yes
avatar brianteeman
brianteeman - comment - 19 Apr 2017

This works but i think it is wrong (or exposing another bug). There is an option for the field to apply an edit class and i "think" that is supposed to be displayed here but its not

avatar Quy
Quy - comment - 19 Apr 2017

Edit Class pertains to the fields and not to the labels. Here is an example where I added editClassHere to Edit Class:

<div class="controls"><input type="text" name="jform[com_fields][text]" id="jform_com_fields_text"  value="" class="editClassHere required"        required aria-required="true"      /></div>
avatar brianteeman brianteeman - test_item - 19 Apr 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 19 Apr 2017

I have tested this item successfully on 5bf6c6d


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

avatar brianteeman
brianteeman - comment - 19 Apr 2017

Sorry @quy you were correct I was looking at the wrong place. All good!


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Apr 2017

RTC after two successful tests.

avatar rdeutz rdeutz - close - 1 May 2017
avatar rdeutz rdeutz - merge - 1 May 2017
avatar rdeutz rdeutz - change - 1 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-01 20:15:12
Closed_By rdeutz
Labels Added: ? ?

Add a Comment

Login with GitHub to post a comment