-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
4 additions
and
8,651 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
15 changes: 0 additions & 15 deletions
15
app/assets/javascripts/curation_concerns/curation_concerns.js
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,22 +1,16 @@ | ||
//= require blacklight/core | ||
(function($) { | ||
var facet_mine_behavior = function() { | ||
// TODO: pull in https://github.com/projecthydra-labs/curate/blob/master/app/views/catalog/_facets.html.erb | ||
$('#aux-search-submit-header').hide(); | ||
|
||
$('input[name="works"]').on("change", function(e) { | ||
$(this).closest('form').submit(); | ||
}); | ||
|
||
}; | ||
}; | ||
|
||
|
||
// TODO when we upgrade blacklight to 4.4+, we can use Blacklight.onLoad() | ||
if (typeof Turbolinks !== "undefined") { | ||
$(document).on('page:load', function() { | ||
facet_mine_behavior(); | ||
}); | ||
} | ||
$(document).ready(function() { | ||
facet_mine_behavior(); | ||
Blacklight.onLoad(function() { | ||
facet_mine_behavior(); | ||
}); | ||
})(jQuery); |
This file was deleted.
Oops, something went wrong.
123 changes: 0 additions & 123 deletions
123
app/assets/javascripts/curation_concerns/link_groups.js.coffee
This file was deleted.
Oops, something went wrong.
126 changes: 0 additions & 126 deletions
126
app/assets/javascripts/curation_concerns/link_users.js.coffee
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.