Sha256: 2b7fa8527613f5480c929513a65e851f589f6786caee134c9bb075457e43e631
Contents?: true
Size: 630 Bytes
Versions: 25
Compression:
Stored size: 630 Bytes
Contents
import ThumbnailSelect from 'hyrax/thumbnail_select' import Participants from 'hyrax/admin/admin_set/participants' import tabifyForm from 'hyrax/tabbed_form' // Controls the behavior of the Collections edit form // Add search for thumbnail to the edit descriptions export default class { constructor(elem) { let url = window.location.pathname.replace('edit', 'files') let field = elem.find('#collection_thumbnail_id') this.thumbnailSelect = new ThumbnailSelect(url, field) tabifyForm(elem.find('form.editor')) let participants = new Participants(elem.find('#participants')) participants.setup() } }
Version data entries
25 entries across 25 versions & 1 rubygems