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

Re-enables nav-tabs for hydra apps #836

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gemspec
# your gem to rubygems.org.

gem 'blacklight', '~> 6.25.0'
gem 'bootstrap-sass', '~> 3.0'
gem 'bootstrap-sass', '~> 3.4.1'
gem 'coderay'
gem 'factory_bot_rails'
gem 'hyrax', '>= 2.3'
Expand Down
4 changes: 3 additions & 1 deletion app/assets/javascripts/bulkrax/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//

//= require jquery
//= require jquery_ujs
//= require_tree .
//= require bootstrap
7 changes: 7 additions & 0 deletions app/assets/javascripts/bulkrax/navtabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// enables the tabs in the importers/exporters pages.
$(document).ready(function() {
$('.nav-tabs a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
});
Loading