Skip to content

[4.0] Clean up inline js #1#18944

Merged
wilsonge merged 4 commits intojoomla:4.0-devfrom
dgrammatiko:no-inline-js/1
Dec 2, 2017
Merged

[4.0] Clean up inline js #1#18944
wilsonge merged 4 commits intojoomla:4.0-devfrom
dgrammatiko:no-inline-js/1

Conversation

@dgrammatiko
Copy link
Copy Markdown
Contributor

Pull Request for Issue # .

Summary of Changes

com_categories modal view. There is one instance of inline script in Field/CategoryField but this will be done in the PR that will refactor the modal field (not the greatest piece of code in the project)

Testing Instructions

Create a menu: Category blog -> try to select a category, if it works test is passing
screen shot 2017-12-01 at 17 54 09

Expected result

Actual result

Documentation Changes Required

The minified js is not minified, that will be done by Grunt so please no smartypants call to fix that! It's on purpose.

* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
(function() {
if (!window.Joomla) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (!Joomla) {

and this file should be minified ;)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not by hand, once the new build script is merged!

@wilsonge wilsonge merged commit b1275b4 into joomla:4.0-dev Dec 2, 2017
@wilsonge wilsonge added this to the Joomla 4.0 milestone Dec 2, 2017
@dgrammatiko dgrammatiko deleted the no-inline-js/1 branch July 11, 2018 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants