? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
26 Nov 2015

Description

This PR adds some missing jquery framework dependency.

How to test

  • In admin go to Content -> Media and check there is no javascript errors in the js console.
  • In admin go to System -> Global Check in and check there is no javascript errors in the js console.

You can also check the code to see jquery js are loaded.

B/C

None

avatar andrepereiradasilva andrepereiradasilva - open - 26 Nov 2015
avatar andrepereiradasilva andrepereiradasilva - change - 26 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Nov 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 26 Nov 2015
Category JavaScript
avatar zero-24 zero-24 - change - 26 Nov 2015
Easy No Yes
avatar zero-24
zero-24 - comment - 26 Nov 2015

hmm jquery is loaded also without this patch or i miss something?


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 26 Nov 2015

Yes it's loaded, but because JDocument renders the scripts in this order:

  • External scripts
  • Inline scripts

If they were loaded in the order they are called (not matter if they are internal or external) there would be a JS error because jQuery was not loaded yet.

They work now, because some other component in that pages is calling jQuery, and since jQuery is an external js it's always loaded before the inline scripts.

This is only for js integrity no changes in output.

avatar zero-24 zero-24 - test_item - 26 Nov 2015 - Tested successfully
avatar zero-24
zero-24 - comment - 26 Nov 2015

I have tested this item :white_check_mark: successfully on 5bf71d1

Ok agree than my test was successfull.


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

avatar anibalsanchez anibalsanchez - test_item - 3 Dec 2015 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 3 Dec 2015

I have tested this item :white_check_mark: successfully on 5bf71d1

Test OK


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Dec 2015

thanks @zero-24 @anibalsanchez
can we have an RTC :)

avatar dgt41 dgt41 - change - 3 Dec 2015
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 3 Dec 2015

@joomla-bot RTC this

avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2015
Labels Added: ?
avatar rdeutz rdeutz - change - 6 Jan 2016
Milestone Added:
avatar wilsonge wilsonge - change - 16 Jan 2016
Milestone Added:
avatar wilsonge wilsonge - change - 16 Jan 2016
Milestone Removed:
avatar wilsonge wilsonge - close - 16 Jan 2016
avatar wilsonge wilsonge - change - 16 Jan 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-01-16 23:20:48
Closed_By wilsonge
avatar wilsonge wilsonge - close - 16 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 16 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jan 2016
Labels Removed: ?
avatar wilsonge
wilsonge - comment - 16 Jan 2016

Hi @andrepereiradasilva can you contact me please. Glip/email so we can clean up your staging branch. I'm having to squash you're commits every time which is time consuming. Would save my time (and probably some of yours if i can help you fix up your branch).

avatar andrepereiradasilva
andrepereiradasilva - comment - 16 Jan 2016

@wilsonge sure, sorry for that.
how do i send you a private message with my contact details?

avatar wilsonge
wilsonge - comment - 16 Jan 2016

either email me at george.wilson@community.joomla.org grab me on glip or skype george.wilson1992

Don't worry about it! I know I've made this mistake several times :)

avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 17 Jan 2016

Add a Comment

Login with GitHub to post a comment