User tests: Successful: Unsuccessful:
Pull Request for Issue #15415.
Do not output class attribute if it is empty.
Edit an article.
View page source.
Search for class="".
None should be found in <label> tag.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Layout |
| Easy | No | ⇒ | Yes |
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
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>
I have tested this item
Sorry @quy you were correct I was looking at the wrong place. All good!
| Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
| 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:
?
?
|
||
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.