Failure

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
15 Oct 2016

Pull Request for Issue # .

JLayouts should not be used to inject javascript!

Summary of Changes

Inline scripts moved to their respective files and utilise the Joomla Options!

Testing Instructions

Apply patch and check that:

  • Chosen still works
  • Tags still works
  • drag and drop in a list view (e.g. articles) still works

B/C

Totally backwards compatible

Documentation Changes Required

None

avatar dgt41 dgt41 - open - 15 Oct 2016
avatar dgt41 dgt41 - change - 15 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2016
Category Administration Components Layout Libraries JavaScript
ffbbeab 15 Oct 2016 avatar dgrammatiko init
avatar dgt41 dgt41 - change - 15 Oct 2016
The description was changed
avatar dgt41 dgt41 - edited - 15 Oct 2016
avatar mbabker
mbabker - comment - 15 Oct 2016

Totally backwards compatible

Actually, it's not. Because people were insane enough to use layouts for JavaScript injection even when advised this was a terrible idea, if you remove the support for this you break any overrides that might exist. The fact that this practice was accepted in the first place still pisses me off, but it has to be lived with until 4.0.

avatar dgt41
dgt41 - comment - 15 Oct 2016

For this particular ? in jlayouts you can easily blame me!
Ok then I will move this to J4.

avatar dgt41 dgt41 - change - 15 Oct 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-10-15 17:03:32
Closed_By dgt41
avatar dgt41 dgt41 - close - 15 Oct 2016

Add a Comment

Login with GitHub to post a comment