Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Search - Corrects the ordering of loaded JS files ... #5336

Merged
merged 1 commit into from Dec 8, 2014
Merged

Smart Search - Corrects the ordering of loaded JS files ... #5336

merged 1 commit into from Dec 8, 2014

Conversation

Kubik-Rubik
Copy link
Member

... and removes the explicit loading of Mootools (loaded automatically by progressbar.js call)

Jquery has to be loaded before indexer.js and Mootools doesn't have to be loaded explicitly because it is loaded automatically. (We should remove the dependency of Mootools in progressbar.js in another PR)

How to test?

Apply this PR and run the indexer in the finder component (Smart Search). Everything should run properly and the items indexed properly.

…ding of Mootools (loaded automatically by progressbar.js call)
@dgrammatiko
Copy link
Contributor

@Kubik-Rubik May I suggest to move all the calls to tmpl/default.php. I think this is the proper place to call any needed scripts
My 2c

@Kubik-Rubik
Copy link
Member Author

@dgt41 Let us first optimize the loading ordering and in a second step move them in the template files because it has to be done in many places (components). Agree?

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

@dgrammatiko
Copy link
Contributor

@Kubik-Rubik but this way is kinda double work, I guess? Anyways if this is the way you think is gonna be easier to test/merge no real objection here. Test results coming soon...

@Kubik-Rubik
Copy link
Member Author

@dgt41 Yeah, but I don't want to mix the PRs. Thank you for testing! :-)

@dgrammatiko
Copy link
Contributor

@test success

@smanzi
Copy link

smanzi commented Dec 8, 2014

Guys, this MUST be merged: without this com_finder indexing is broken with the current staging code...

@dgrammatiko
Copy link
Contributor

@smanzi @Kubik-Rubik The same goes for #5099

@Kubik-Rubik
Copy link
Member Author

@dgt41 I will test your PR #5099 today and give feedback!

We have 2 successful tests -> RTC

@brianteeman brianteeman added the RTC This Pull Request is Ready To Commit label Dec 8, 2014
Bakual pushed a commit that referenced this pull request Dec 8, 2014
Smart Search - Corrects the ordering of loaded JS files ...
@Bakual Bakual merged commit 9a6a017 into joomla:staging Dec 8, 2014
@Bakual Bakual added this to the Joomla! 3.4.0 milestone Dec 11, 2014
@Kubik-Rubik Kubik-Rubik deleted the com_finder-ordering-js-files branch June 20, 2015 18:11
@zero-24 zero-24 removed the RTC This Pull Request is Ready To Commit label Oct 14, 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.

None yet

7 participants