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

Fix #3985 - foreman hardhat under inner top bar. #3596

Merged
merged 1 commit into from Jan 22, 2014

Conversation

waldenraines
Copy link
Contributor

This fix removes jQuery from the bastion productionincludes, instead
relying on Foreman to include jQuery. We still include jQuery for
javascript testing.

This fix removes jQuery from the bastion productionincludes, instead
relying on Foreman to include jQuery.  We still include jQuery for
javascript testing.
@@ -12,7 +12,7 @@ module.exports = function(config) {
'app/assets/javascripts/bastion/**/*.html': ['ng-html2js']
},
files: [
'vendor/assets/javascripts/bastion/jquery/jquery.js',
'.tmp/bower_components/jquery/jquery.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.tmp? that looks weird

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's where we store our dev-only stuff so it's ignored by github. Look further down in that file and you'll see the same thing with another file.

@ehelms
Copy link
Member

ehelms commented Jan 21, 2014

Do you not also need to fix this for the old Katello pages in app/assets/javascripts/katello/common/vendor.js ?

@waldenraines
Copy link
Contributor Author

@ehelms: this only happens on nutupane pages. Perhaps rails is smart enough to not include it twice? Perhaps it's because of the double engine structure? Not sure, but jquery is only included once on old katello pages.

@waldenraines
Copy link
Contributor Author

@ehelms actually, it looks like you removed this via d1c0083.

d1c0083#diff-4b61184b5a04dbbbe053210d6edff39fL13

@ehelms
Copy link
Member

ehelms commented Jan 22, 2014

ACK

waldenraines pushed a commit that referenced this pull request Jan 22, 2014
Fix #3985 - foreman hardhat under inner top bar.
@waldenraines waldenraines merged commit 7cbb65f into Katello:master Jan 22, 2014
@waldenraines waldenraines deleted the jquery branch January 22, 2014 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants