? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
16 Oct 2016

Pull Request for corrections to #11289.

Summary of Changes

This small PR corrects one thing missing from the #11289 merge. before the PR the default type was text/javascript, after the PR merge there is no deault type.

Also reinstates @mbabker JHtml::script() code review changes (https://github.com/joomla/joomla-cms/pull/10771/files#diff-b01d47e3fbe4a8e5fb4987f4df64b291R679) that was lost in merging conflicts.

Testing Instructions

Most of all code review.

But you can also test the following:
1. Use latests 3.7.x branch
2. Delete the $doc->setHtml5(true); line in /templates/protostar/index.php to set he document as non html5
3. Go to frontend and check code, you will notice the script tags have no type="text/javascript"attribute and they should as this document is not rendered as html5
4. Apply patch. check now they have the type="text/javascript"attribute as they should

Documentation Changes Required

None.

@dgt41 @Fedik please test

avatar andrepereiradasilva andrepereiradasilva - open - 16 Oct 2016
avatar andrepereiradasilva andrepereiradasilva - change - 16 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - edited - 16 Oct 2016
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Category Libraries
avatar Fedik Fedik - test_item - 16 Oct 2016 - Tested successfully
avatar Fedik
Fedik - comment - 16 Oct 2016

I have tested this item successfully on 5ee67be


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

avatar dgt41 dgt41 - test_item - 16 Oct 2016 - Tested successfully
avatar dgt41
dgt41 - comment - 16 Oct 2016

I have tested this item successfully on 5ee67be


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

avatar dgt41 dgt41 - change - 16 Oct 2016
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 16 Oct 2016
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Labels Added: ?
avatar zero-24
zero-24 - comment - 16 Oct 2016

Thanks. Merging now ?

avatar zero-24 zero-24 - close - 16 Oct 2016
avatar zero-24 zero-24 - merge - 16 Oct 2016
avatar joomla-cms-bot joomla-cms-bot - close - 16 Oct 2016
avatar zero-24 zero-24 - change - 16 Oct 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-10-16 14:46:22
Closed_By zero-24
Labels Added: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 16 Oct 2016

thanks for testing

avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment