blacklight-spotlight 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +153 -48
- data/app/assets/javascripts/spotlight/spotlight.esm.js +33 -1
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +33 -1
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_admin_users.scss +28 -0
- data/app/assets/stylesheets/spotlight/_browse.scss +1 -1
- data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +1 -1
- data/app/assets/stylesheets/spotlight/_spotlight.scss +1 -0
- data/app/components/spotlight/admin_users/email_component.html.erb +5 -0
- data/app/components/spotlight/admin_users/email_component.rb +22 -0
- data/app/components/spotlight/admin_users/exhibit_roles_component.html.erb +28 -0
- data/app/components/spotlight/admin_users/exhibit_roles_component.rb +19 -0
- data/app/components/spotlight/admin_users/site_admin_component.html.erb +13 -0
- data/app/components/spotlight/admin_users/site_admin_component.rb +17 -0
- data/app/components/spotlight/analytics/aggregation_component.rb +1 -1
- data/app/components/spotlight/analytics/dashboard_component.rb +1 -1
- data/app/components/spotlight/breadcrumbs_component.rb +1 -1
- data/app/components/spotlight/bulk_action_component.rb +1 -1
- data/app/components/spotlight/edit_view_links_component.rb +1 -1
- data/app/components/spotlight/header_navigation_link_component.rb +1 -1
- data/app/components/spotlight/save_search_component.rb +1 -1
- data/app/components/spotlight/select_image_component.rb +1 -1
- data/app/components/spotlight/skip_link_component.rb +1 -1
- data/app/components/spotlight/solr_document_legacy_embed_component.rb +2 -2
- data/app/components/spotlight/tag_list_form_component.rb +1 -1
- data/app/components/spotlight/tag_selector_component.rb +1 -1
- data/app/components/spotlight/title_component.rb +1 -1
- data/app/components/spotlight/translations/subheading_component.rb +1 -1
- data/app/components/spotlight/uneditable_non_default_language_component.rb +1 -1
- data/app/controllers/spotlight/admin_users_controller.rb +11 -1
- data/app/controllers/spotlight/browse_controller.rb +2 -8
- data/app/controllers/spotlight/bulk_actions_controller.rb +1 -1
- data/app/controllers/spotlight/bulk_updates_controller.rb +22 -7
- data/app/controllers/spotlight/catalog_controller.rb +7 -15
- data/app/controllers/spotlight/dashboards_controller.rb +2 -6
- data/app/controllers/spotlight/exhibits_controller.rb +1 -0
- data/app/controllers/spotlight/home_pages_controller.rb +1 -1
- data/app/controllers/spotlight/searches_controller.rb +1 -1
- data/app/controllers/spotlight/solr_controller.rb +1 -0
- data/app/helpers/spotlight/main_app_helpers.rb +1 -5
- data/app/helpers/spotlight/rendering_helper.rb +4 -1
- data/app/javascript/spotlight/admin/blocks/pages_block.js +2 -0
- data/app/javascript/spotlight/user/carousel.js +32 -2
- data/app/jobs/spotlight/add_tags_job.rb +1 -0
- data/app/jobs/spotlight/add_uploads_from_csv.rb +1 -0
- data/app/jobs/spotlight/change_visibility_job.rb +1 -0
- data/app/jobs/spotlight/process_bulk_updates_csv_job.rb +1 -0
- data/app/jobs/spotlight/reindex_exhibit_job.rb +1 -0
- data/app/jobs/spotlight/reindex_job.rb +1 -0
- data/app/jobs/spotlight/remove_tags_job.rb +1 -0
- data/app/jobs/spotlight/rename_sidecar_field_job.rb +1 -0
- data/app/models/concerns/spotlight/user.rb +5 -0
- data/app/models/sir_trevor_rails/blocks/browse_block.rb +1 -1
- data/app/models/sir_trevor_rails/blocks/featured_pages_block.rb +1 -1
- data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +1 -0
- data/app/models/spotlight/ability.rb +1 -1
- data/app/models/spotlight/about_page.rb +1 -0
- data/app/models/spotlight/blacklight_configuration.rb +6 -7
- data/app/models/spotlight/contact.rb +2 -1
- data/app/models/spotlight/contact_email.rb +1 -0
- data/app/models/spotlight/custom_field.rb +1 -0
- data/app/models/spotlight/exhibit.rb +2 -9
- data/app/models/spotlight/feature_page.rb +1 -0
- data/app/models/spotlight/group.rb +2 -1
- data/app/models/spotlight/home_page.rb +1 -0
- data/app/models/spotlight/job_tracker.rb +1 -1
- data/app/models/spotlight/main_navigation.rb +1 -1
- data/app/models/spotlight/page.rb +28 -19
- data/app/models/spotlight/resource.rb +1 -0
- data/app/models/spotlight/resources/iiif_manifest.rb +0 -126
- data/app/models/spotlight/resources/iiif_manifest_metadata.rb +161 -0
- data/app/models/spotlight/resources/iiif_manifest_v3.rb +41 -0
- data/app/models/spotlight/resources/iiif_service.rb +25 -1
- data/app/models/spotlight/search.rb +2 -1
- data/app/services/spotlight/exhibit_import_export_service.rb +3 -1
- data/app/views/spotlight/admin_users/index.html.erb +16 -26
- data/app/views/spotlight/catalog/_document_admin_table.html.erb +2 -6
- data/app/views/spotlight/catalog/edit.html.erb +1 -6
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +1 -1
- data/app/views/spotlight/pages/_order_pages.html.erb +1 -1
- data/app/views/spotlight/pages/show.html.erb +4 -2
- data/app/views/spotlight/resources/csv_upload/_form.html.erb +2 -0
- data/app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +5 -3
- data/app/views/spotlight/sir_trevor/blocks/_text_block.html.erb +1 -1
- data/config/initializers/devise_rails8_patch.rb +13 -0
- data/config/locales/spotlight.en.yml +34 -5
- data/config/routes.rb +5 -1
- data/lib/spotlight/engine.rb +10 -26
- data/lib/spotlight/version.rb +1 -1
- data/spec/fixtures/iiif_responses.rb +344 -0
- data/spec/support/features/test_features_helpers.rb +4 -6
- data/spec/support/stub_iiif_response.rb +1 -0
- data/spec/support/with_queue_adapter.rb +17 -0
- metadata +42 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84efdb53b56ea18d71d5efbb5c68a2d5865b9591eb766236cf90e201200fc31a
|
4
|
+
data.tar.gz: ef61c3e200b76c193c22e0ba4fbf513c19f5dbfac7ddfd1e84c88c91e4e6b31d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a736b3c916d2ca85d1e320b98de576fb93941bad0cb9d8c5a280912a8759f8c118780a115b7a25d65ecabe3428bfc1e47ef3a9d38d49cdd35b952869898f73a
|
7
|
+
data.tar.gz: 786bdc118fdc240bac38b978feae84369a45e25feba6467506c39025b7bd23c1f154bc32ea18cb19cd4351d7733137ba291c469095e23a6e92c1f96480d23133
|
data/README.md
CHANGED
@@ -5,17 +5,21 @@ spotlight
|
|
5
5
|
|
6
6
|
Spotlight is open source software that enables librarians, curators, and other content experts to easily build feature-rich websites that showcase collections and objects from a digital repository, uploaded items, or a combination of the two. Spotlight is a plug-in for [Blacklight](https://github.com/projectblacklight/blacklight), an open source, Ruby on Rails Engine that provides a basic discovery interface for searching an Apache Solr index.
|
7
7
|
|
8
|
-
|
8
|
+
In addition to the information found below, you can read more about what Spotlight is, our motivations for creating it, and how to configure it in the [wiki pages](https://github.com/projectblacklight/spotlight/wiki). You might also want to take a look at our demo videos, especially the [tour of a completed Spotlight exhibit](https://www.youtube.com/watch?v=_A7vTbbiF4g) and the walkthrough of [building an exhibit with Spotlight](https://www.youtube.com/watch?v=qPJtgajJ4ic).
|
9
|
+
|
10
|
+
If you have questions or are interested in contributing, please reach out to the [Spotlight Community](#spotlight-community)
|
9
11
|
|
10
12
|
## Requirements
|
11
13
|
|
12
|
-
1. [Ruby](https://www.ruby-lang.org/) 3.
|
14
|
+
1. [Ruby](https://www.ruby-lang.org/) 3.2+
|
13
15
|
2. [Ruby on Rails](https://rubyonrails.org/) 7.1+
|
14
16
|
3. Java (11 or greater) *for Solr*
|
15
17
|
4. ImageMagick (http://www.imagemagick.org/script/index.php) due to [carrierwave](https://github.com/carrierwaveuploader/carrierwave#adding-versions)
|
16
18
|
|
17
19
|
## Installation
|
18
20
|
|
21
|
+
The following installation instructions are for setting up a new instance of Spotlight. To set up an environment for Spotlight development, see [Developing Spotlight](#developing-spotlight).
|
22
|
+
|
19
23
|
To bootstrap a new Rails application using [importmap-rails](https://github.com/rails/importmap-rails):
|
20
24
|
|
21
25
|
```
|
@@ -70,59 +74,182 @@ Spotlight introduces functionality that depends on being able to send emails to
|
|
70
74
|
|
71
75
|
See the [Spotlight wiki](https://github.com/projectblacklight/spotlight/wiki) for more detailed information on configuring Spotlight.
|
72
76
|
|
73
|
-
|
77
|
+
## Translations
|
78
|
+
|
79
|
+
Spotlight ships with [`i18n-tasks`](https://github.com/glebm/i18n-tasks) to help manage translations. To run a translation health check:
|
80
|
+
|
81
|
+
```sh
|
82
|
+
bundle exec i18n-tasks health
|
83
|
+
```
|
84
|
+
|
85
|
+
See [developer-facing instructions for enabling translation](https://github.com/projectblacklight/spotlight/wiki/Translations) on the wiki.
|
86
|
+
|
87
|
+
## Updating the JavaScript bundle
|
88
|
+
|
89
|
+
The JavaScript is built by npm from sources in `app/javascript` into a bundle
|
90
|
+
in `app/assets/javascripts/spotlight/spotlight.js`. This file should not be edited
|
91
|
+
by hand as any changes would be overwritten. When any of the JavaScript
|
92
|
+
components in the gem are changed, this bundle should be rebuilt with the
|
93
|
+
following steps:
|
94
|
+
1. [Install npm](https://www.npmjs.com/get-npm)
|
95
|
+
2. Run `npm install` to download dependencies
|
96
|
+
3. Run `npm run prepare` to build the bundle
|
97
|
+
4. If you are releasing a new version of the gem, follow the release instructions below.
|
98
|
+
|
99
|
+
## Releasing a new version and publishing the JavaScript
|
100
|
+
|
101
|
+
You only need to update `package.json` and prepare/publish the JavaScript package for npm if there are changes to the JavaScript.
|
102
|
+
1. Edit `version.rb` and `package.json` to set the new version
|
103
|
+
2. Run `npm run prepare` to build the JavaScript bundle
|
104
|
+
3. Run `npm i --package-lock-only` to update the version in `package-lock.json`
|
105
|
+
4. Commit the changes e.g. `git commit -am "Bump version to X.X.X"`
|
106
|
+
5. Push the release to rubygems and GitHub: `bundle exec rake release`
|
107
|
+
6. Run `npm publish` to push the JavaScript package to https://npmjs.org/package/spotlight-frontend
|
74
108
|
|
75
|
-
|
109
|
+
See [Updating the JavaScript bundle](#updating-the-javascript-bundle) above for more details.
|
110
|
+
|
111
|
+
## Developing Spotlight
|
112
|
+
|
113
|
+
### Branches
|
76
114
|
|
77
115
|
* The `main` branch is for development of the upcoming 5.0 release.
|
78
116
|
* The `4.x` series is on the [release-4.x](https://github.com/projectblacklight/spotlight/tree/release-4.x) branch for backports of features and bug fixes.
|
79
117
|
|
80
|
-
|
118
|
+
### Tooling
|
119
|
+
|
120
|
+
* Spotlight is a Rails engine and needs to be used in the context of a Rails application. We use [engine_cart](https://github.com/cbeer/engine_cart) to create an internal test application at `.internal_test_app/`.
|
121
|
+
* Spotlight relies on Solr for its integration tests and to run a development instance. [solr_wrapper](https://github.com/cbeer/solr_wrapper) allows us to provide terse commands for development and testing. For more granular control, you can run Solr in Docker, then execute services and processes individually.
|
122
|
+
* Spotlight's `rake spotlight:server` and `rake ci` tasks use engine_cart and Solr automatically, but you can refer to [engine_cart](https://github.com/cbeer/engine_cart) and [solr_wrapper](https://github.com/cbeer/solr_wrapper) documentation to work with these tools outside of those rake tasks.
|
123
|
+
|
124
|
+
### Initial setup
|
125
|
+
|
126
|
+
1. Install the [requirements above](#requirements). Note: You do not need to install Java if you plan to run Solr in Docker.
|
127
|
+
2. Clone the spotlight repository locally and `cd` into it.
|
128
|
+
3. Install the Ruby gems used by spotlight: `bundle install`.
|
81
129
|
|
82
|
-
|
83
|
-
* uses Solr as part of its integration tests. We use [solr_wrapper](https://github.com/cbeer/solr_wrapper) to manage the Solr instance used for development and test.
|
130
|
+
Note: if your system is confused by conflicting gem versions, you may need to add "bundle exec" to the beginning of each command below, e.g. `bundle exec rake engine_cart:generate`. This ensures that the command is run in the context of bundler's gem version management.
|
84
131
|
|
85
|
-
|
132
|
+
### Run a development server
|
86
133
|
|
87
|
-
|
134
|
+
After following one of the instructions below, visit http://localhost:3000. A Solr instance will be running on port 8983. When using importmap (the default configuration), JavaScript changes in development should not require [bundling](#updating-the-javascript-bundle) or a server restart.
|
88
135
|
|
89
|
-
|
136
|
+
#### With solr_wrapper
|
137
|
+
|
138
|
+
The following rake task will build a Spotlight-based application, start Solr with solr_wrapper, and run the built-in rails server. In the process, you will be prompted to create an admin user and password.
|
139
|
+
|
140
|
+
```sh
|
141
|
+
rake spotlight:server
|
90
142
|
```
|
91
|
-
|
143
|
+
|
144
|
+
Alternatively, you can use [individual commands](#individual-commands) to start Solr separately and set everything else up.
|
145
|
+
|
146
|
+
```sh
|
147
|
+
solr_wrapper # Run in separate tab
|
148
|
+
rake engine_cart:generate
|
149
|
+
rake spotlight:fixtures
|
150
|
+
cd .internal_test_app
|
151
|
+
bin/rails spotlight:initialize
|
152
|
+
bin/dev
|
92
153
|
```
|
93
154
|
|
94
|
-
|
155
|
+
#### With Docker
|
95
156
|
|
96
|
-
|
157
|
+
The following will run Solr in Docker and then use individual commands to set up a running development server.
|
97
158
|
|
98
159
|
```sh
|
99
|
-
|
100
|
-
|
101
|
-
|
160
|
+
docker compose up -d
|
161
|
+
rake engine_cart:generate
|
162
|
+
rake spotlight:fixtures
|
163
|
+
cd .internal_test_app
|
164
|
+
rake spotlight:seed_admin_user
|
165
|
+
bin/dev
|
102
166
|
```
|
103
167
|
|
104
|
-
|
168
|
+
### Run tests
|
105
169
|
|
106
|
-
|
170
|
+
#### With solr_wrapper
|
107
171
|
|
172
|
+
The following rake task will build a Spotlight-based application, start Solr, run the tests, and then shut down Solr when the tests are finished. Solr should not be running already when you run this.
|
173
|
+
```sh
|
174
|
+
rake
|
108
175
|
```
|
109
|
-
|
176
|
+
|
177
|
+
#### With Docker (or solr_wrapper, if Solr is started separately)
|
178
|
+
|
179
|
+
If you're using Solr on Docker, run `docker compose up -d` to start Solr if you haven't already. Once you have Solr running (either on Docker or with solr_wrapper), run the tests using the following commands:
|
180
|
+
```sh
|
181
|
+
rake engine_cart:generate
|
182
|
+
rake spotlight:fixtures
|
183
|
+
cd .internal_test_app && rake spec:prepare && cd - # not needed if you ran the dev server
|
184
|
+
rspec
|
110
185
|
```
|
111
186
|
|
112
|
-
|
187
|
+
Using rspec directly allows you to run individual test files / lines.
|
113
188
|
|
114
|
-
|
189
|
+
The `spec:prepare` task generates css assets for use by the tests. You can delete these assets with `rake assets:clobber`.
|
115
190
|
|
116
|
-
|
191
|
+
Once you are set up, you can also run `rubocop` to enforce consistent coding style.
|
117
192
|
|
118
|
-
|
119
|
-
|
193
|
+
|
194
|
+
### Individual commands
|
195
|
+
|
196
|
+
#### Using solr_wrapper
|
197
|
+
|
198
|
+
Start Solr with solr_wrapper:
|
199
|
+
```
|
200
|
+
solr_wrapper
|
201
|
+
```
|
202
|
+
Reset Solr using solr_wrapper to a pristine state (e.g. remove Solr docs, core, etc.):
|
203
|
+
```
|
204
|
+
solr_wrapper clean
|
205
|
+
```
|
206
|
+
Note: Sometimes solr doesn't shut down properly. You can check by seeing if solr is running:
|
207
|
+
```
|
208
|
+
ps -eaf | grep solr
|
120
209
|
```
|
121
210
|
|
122
|
-
|
211
|
+
#### Using test fixtures
|
212
|
+
|
213
|
+
Add fixture data to Solr:
|
214
|
+
```
|
215
|
+
rake spotlight:fixtures
|
216
|
+
```
|
217
|
+
Delete an existing solr index:
|
218
|
+
```
|
219
|
+
rails c
|
220
|
+
> Blacklight.default_index.connection.delete_by_query "*:*"
|
221
|
+
> Blacklight.default_index.connection.commit
|
222
|
+
```
|
223
|
+
|
224
|
+
#### Generating and running the test app
|
225
|
+
|
226
|
+
Build the test app:
|
227
|
+
```
|
228
|
+
rake engine_cart:generate
|
229
|
+
```
|
230
|
+
From `./internal_test_app`, create the initial admin user:
|
231
|
+
|
232
|
+
*With [default credientials](https://github.com/projectblacklight/spotlight/blob/9acd4bf5d4f2806b6e76aa03c31176ea5f6943de/lib/tasks/spotlight_tasks.rake#L20-L21)*
|
233
|
+
```
|
234
|
+
rake spotlight:seed_admin_user
|
235
|
+
```
|
236
|
+
*With user-provided credientials*
|
237
|
+
```
|
238
|
+
bin/rails spotlight:initialize
|
239
|
+
```
|
240
|
+
From `./internal_test_app`, start Rails to run the test app:
|
241
|
+
```
|
242
|
+
bin/dev
|
243
|
+
```
|
244
|
+
From the project root, delete the test app (if you want to regenerate from scratch):
|
245
|
+
```
|
246
|
+
$ rake engine_cart:clean
|
247
|
+
```
|
248
|
+
## Spotlight Community
|
123
249
|
|
124
|
-
|
250
|
+
See [Contributing to Spotlight](/CONTRIBUTING.md) for general information about participation in the Spotlight community.
|
125
251
|
|
252
|
+
### Where to find us
|
126
253
|
|
127
254
|
- Join us on the [code4lib Slack](https://code4lib.org/irc)
|
128
255
|
- **#spotlight-development** - a developer-focused channel for Spotlight
|
@@ -131,25 +258,3 @@ See [developer-facing instructions for enabling translation](https://github.com/
|
|
131
258
|
- Google Groups
|
132
259
|
- [Blacklight Development Google group](https://groups.google.com/forum/#!forum/blacklight-development)
|
133
260
|
- [Spotlight Community Group](https://groups.google.com/forum/#!forum/spotlight-community) (equivalent to #spotlight-service)
|
134
|
-
|
135
|
-
## Updating the JavaScript bundle
|
136
|
-
The JavaScript is built by npm from sources in `app/javascript` into a bundle
|
137
|
-
in `app/assets/javascripts/spotlight/spotlight.js`. This file should not be edited
|
138
|
-
by hand as any changes would be overwritten. When any of the JavaScript
|
139
|
-
components in the gem are changed, this bundle should be rebuilt with the
|
140
|
-
following steps:
|
141
|
-
1. [Install npm](https://www.npmjs.com/get-npm)
|
142
|
-
2. Run `npm install` to download dependencies
|
143
|
-
3. Run `npm run prepare` to build the bundle
|
144
|
-
4. If you are releasing a new version of the gem, follow the release instructions below.
|
145
|
-
|
146
|
-
## Releasing a new version and publishing the JavaScript
|
147
|
-
You only need to update `package.json` and prepare/publish the JavaScript package for npm if there are changes to the JavaScript.
|
148
|
-
1. Edit `version.rb` and `package.json` to set the new version
|
149
|
-
2. Run `npm run prepare` to build the JavaScript bundle
|
150
|
-
3. Run `npm i --package-lock-only` to update the version in `package-lock.json`
|
151
|
-
4. Commit the changes e.g. `git commit -am "Bump version to X.X.X"`
|
152
|
-
5. Push the release to rubygems and GitHub: `bundle exec rake release`
|
153
|
-
6. Run `npm publish` to push the JavaScript package to https://npmjs.org/package/spotlight-frontend
|
154
|
-
|
155
|
-
See [Updating the JavaScript bundle](#updating-the-javascript-bundle) above for more details.
|
@@ -3266,7 +3266,37 @@ class BrowseGroupCateogries {
|
|
3266
3266
|
class Carousel {
|
3267
3267
|
connect() {
|
3268
3268
|
if ($.fn.carousel) {
|
3269
|
-
$('.carousel')
|
3269
|
+
const $carousel = $('.carousel');
|
3270
|
+
|
3271
|
+
// updates the aria-describedby on the next and prev btns
|
3272
|
+
const updateAriaDescribedBy = function ($carousel) {
|
3273
|
+
const $activeItem = $carousel.find('.carousel-item.active');
|
3274
|
+
const $items = $carousel.find('.carousel-item');
|
3275
|
+
const curIndex = $items.index($activeItem);
|
3276
|
+
const prevIndex = (curIndex - 1 + $items.length) % $items.length;
|
3277
|
+
const nextIndex = (curIndex + 1) % $items.length;
|
3278
|
+
|
3279
|
+
const prevDataId = $items.eq(prevIndex).data('id');
|
3280
|
+
const nextDataId = $items.eq(nextIndex).data('id');
|
3281
|
+
if (prevDataId) {
|
3282
|
+
$carousel.find('.carousel-control-prev').attr('aria-describedby', 'carousel-caption-' + prevDataId);
|
3283
|
+
}
|
3284
|
+
if (nextDataId) {
|
3285
|
+
$carousel.find('.carousel-control-next').attr('aria-describedby', 'carousel-caption-' + nextDataId);
|
3286
|
+
}
|
3287
|
+
};
|
3288
|
+
|
3289
|
+
// on initial page load, set the aria-describedby on the btns for each carousel
|
3290
|
+
$carousel.each(function () {
|
3291
|
+
const $this = $(this);
|
3292
|
+
$this.carousel();
|
3293
|
+
updateAriaDescribedBy($this);
|
3294
|
+
});
|
3295
|
+
|
3296
|
+
// on slide change
|
3297
|
+
$carousel.on('slid.bs.carousel', function () {
|
3298
|
+
updateAriaDescribedBy($(this));
|
3299
|
+
});
|
3270
3300
|
}
|
3271
3301
|
}
|
3272
3302
|
}
|
@@ -5999,6 +6029,8 @@ SirTrevor.Blocks.FeaturedPages = (function(){
|
|
5999
6029
|
|
6000
6030
|
icon_name: "pages",
|
6001
6031
|
|
6032
|
+
show_image_selection: false,
|
6033
|
+
|
6002
6034
|
autocomplete_url: function() { return document.getElementById(this.instanceID).closest('form[data-autocomplete-exhibit-pages-path]').dataset.autocompleteExhibitPagesPath; },
|
6003
6035
|
autocomplete_fetch: function(url) {
|
6004
6036
|
return this.fetchOnceAndFilterLocalResults(url);
|