blacklight-spotlight 4.3.2 → 4.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spotlight/spotlight.esm.js +1 -4
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +1 -4
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/components/spotlight/document_admin_table_component.html.erb +1 -1
- data/app/components/spotlight/solr_document_legacy_embed_component.rb +14 -1
- data/app/helpers/spotlight/main_app_helpers.rb +10 -0
- data/app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb +1 -1
- data/lib/spotlight/version.rb +1 -1
- metadata +5 -5
@@ -787,7 +787,7 @@
|
|
787
787
|
retval = this;
|
788
788
|
|
789
789
|
var generateUid = function (separator) {
|
790
|
-
var delim = "-";
|
790
|
+
var delim = separator || "-";
|
791
791
|
|
792
792
|
function S4() {
|
793
793
|
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
@@ -5141,7 +5141,6 @@
|
|
5141
5141
|
};
|
5142
5142
|
|
5143
5143
|
// Place all the behaviors and hooks related to the matching controller here.
|
5144
|
-
// All this logic will automatically be available in application.js.
|
5145
5144
|
|
5146
5145
|
class Pages {
|
5147
5146
|
connect(){
|
@@ -5608,8 +5607,6 @@
|
|
5608
5607
|
}
|
5609
5608
|
|
5610
5609
|
// Visibility toggle for items in an exhibit, based on Blacklight's bookmark toggle
|
5611
|
-
// See: https://github.com/projectblacklight/blacklight/blob/main/app/javascript/blacklight/bookmark_toggle.js
|
5612
|
-
|
5613
5610
|
|
5614
5611
|
const VisibilityToggle = (e) => {
|
5615
5612
|
if (e.target.matches('[data-checkboxsubmit-target="checkbox"]')) {
|