Sha256: 7f509a43a8cc7be4fd85d1742101d7869e2e1e7c150f8fcfe4b9171d238c0d59

Contents?: true

Size: 501 Bytes

Versions: 10

Compression:

Stored size: 501 Bytes

Contents

//= require hyrax/uploader
// This file is the default initialization of the fileupload.  If you want to call
// hyraxUploader with other options (like afterSubmit), then override this file.
Blacklight.onLoad(function() {
  var options = {};
  <% if Rails.env.development? %>
  // use sequential uploads in development to avoid database locking problems with sqlite3.
  options.sequentialUploads = true;
  options.limitConcurrentUploads = 1;
  <% end %>
  $('#fileupload').hyraxUploader(options);
});

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.1.0 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.5 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.4 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.3 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.2 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.1 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.0.rc2 app/assets/javascripts/hyrax/fileupload.js.erb
hyrax-1.0.0.rc1 app/assets/javascripts/hyrax/fileupload.js.erb
test_hyrax-0.0.1.alpha app/assets/javascripts/hyrax/fileupload.js.erb