-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hyrax-4-valkyrie-support
* main: (24 commits) Retry and delete take 2 (#894) π Add `Bulkrax.persistence_adapter` (#895) πΈ Mint v6.0.1 (#892) π Fix #work_identifier_search_field logic (#891) πΈ Bump to v6.0.0 (#889) make search string used to look up objects configurable (#884) πΈ v5.5.0 (#888) unpin dry-monads. its not a dependency of bulkrax (#885) fix syntax error in ERB (#883) add support for Rails 6, Hyrax 4, and Blacklight 7 (#782) Reduce SQL calls when incrementing/decrementing run counters (#881) Update readme to remove references to samvera-labs (#880) add Compatibility section to readme (#879) π Fix tabs for Hydra application (#875) Nav-tabs event scoping (#874) π Update docs in preparation for best practices seminar (#873) use the `GlobalID` library tooling to determine global id (#869) Avoid NoMethodError in Bulkrax::Importers::Controller#create. (#870) preparing to deploy v5.4.1 (#868) 5.4.0-bug-fixes (#865) ...
- Loading branch information
Showing
72 changed files
with
773 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
<% unless defined?(::Hyku) %> | ||
// enables the tabs in the importers/exporters pages. | ||
$(document).ready(function() { | ||
$('.nav-tabs a').click(function (e) { | ||
$('.bulkrax-nav-tab-top-margin.nav-tabs a').click(function(e) { | ||
e.preventDefault(); | ||
$(this).tab('show'); | ||
|
||
// Remove active class from all tabs and hide all tab content | ||
$('.bulkrax-nav-tab-top-margin.nav-tabs a').parent().removeClass('active'); | ||
$('.tab-content .tab-pane').removeClass('active'); | ||
|
||
// Add active class to clicked tab and show its content | ||
$(this).parent().addClass('active'); | ||
$($(this).attr('href')).addClass('active'); | ||
}); | ||
|
||
$('#full-errors-tab, #full-errors-tab a').click(function(e) { | ||
$('#raw-errors-tab, #bulkrax-raw-toggle-1').removeClass('active'); | ||
$('#full-errors-tab, #bulkrax-full-toggle-1').addClass('active'); | ||
}) | ||
|
||
$('#raw-errors-tab, #raw-errors-tab a').click(function(e) { | ||
$('#full-errors-tab, #bulkrax-full-toggle-1').removeClass('active'); | ||
$('#raw-errors-tab, #bulkrax-raw-toggle-1').addClass('active'); | ||
}) | ||
}); | ||
<% end %> |
Oops, something went wrong.