Skip to content

Remove automatic HTML comments for layouts until we get it working properly#8251

Merged
wilsonge merged 1 commit intojoomla:stagingfrom
phproberto:jlayout
Nov 2, 2015
Merged

Remove automatic HTML comments for layouts until we get it working properly#8251
wilsonge merged 1 commit intojoomla:stagingfrom
phproberto:jlayout

Conversation

@phproberto
Copy link
Copy Markdown
Contributor

This reverts a new feature added in #8234

Some layout output is used directly in JS functions and this feature breaks them. Example:

https://github.com/joomla/joomla-cms/blob/staging/layouts/joomla/modal/main.php#L68-L73

To see the error try to edit any menu item with debug enabled from joomla configuration. It causes a JS error that breaks edit page. After applying this PR everything works again.

wilsonge added a commit that referenced this pull request Nov 2, 2015
Remove automatic HTML comments for layouts until we get it working properly
@wilsonge wilsonge merged commit b3c2e1f into joomla:staging Nov 2, 2015
@phproberto phproberto deleted the jlayout branch November 2, 2015 22:59
@zero-24 zero-24 added this to the Joomla! 3.5.0 milestone Nov 22, 2015
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