? Pending

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
4 Jun 2016

Summary of Changes

This pull request does 2 things:
1. Move the loading of JS files to the top, no need to call it within the foreach loop (logical error)
2. A little codestyle cleanup

Testing Instructions

  1. Apply patch
  2. Go to System -> Global Configuration and check the tabs and options still show and function as usual
avatar roland-d roland-d - open - 4 Jun 2016
avatar roland-d roland-d - change - 4 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2016
Labels Added: ?
avatar mbabker
mbabker - comment - 4 Jun 2016

The !empty check is functionally the same as the isset && has value check.

On Saturday, June 4, 2016, RolandD notifications@github.com wrote:

Summary of Changes

This pull request does 2 things:
1. Move the loading of JS files to the top, no need to call it within the
foreach loop (logical error)
2. A little codestyle cleanup
Testing Instructions

  1. Apply patch
  2. Go to System -> Global Configuration and check the tabs and options still show and function as usual

You can view, comment on, or merge this pull request online at:

#10723
Commit Summary

  • Code cleanup

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#10723, or mute the thread
https://github.com/notifications/unsubscribe/AAWfoX4i0CExRYmJphG_wTbxkjWKJNi5ks5qIclFgaJpZM4IuMVc
.

avatar Bakual
Bakual - comment - 4 Jun 2016

The idea of the JS being loaded in the foreach is to only load it if showon is requested. You're loading it now no matter if it is needed or not. So it's not a logical error, it's a design question.

avatar roland-d
roland-d - comment - 4 Jun 2016

Ok, thanks for the feedback, seems these changes are not needed.

avatar roland-d roland-d - change - 4 Jun 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-06-04 19:03:17
Closed_By roland-d
avatar roland-d roland-d - close - 4 Jun 2016

Add a Comment

Login with GitHub to post a comment