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

Version Path
hyrax-2.6.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-3.0.0.pre.rc1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-3.0.0.pre.beta3 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.5.1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.5.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-3.0.0.pre.beta2 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.4.1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-3.0.0.pre.beta1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.4.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.3.3 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.3.2 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.3.1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.3.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.2.4 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.2.3 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.2.2 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.2.1 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.2.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.1.0 app/assets/javascripts/hyrax/collections/editor.es6
hyrax-2.1.0.rc4 app/assets/javascripts/hyrax/collections/editor.es6