Sha256: 39eb92006ff8782f4cda3a267cb08f95d7357cc17c08c3af318ebfe2af7de605

Contents?: true

Size: 501 Bytes

Versions: 8

Compression:

Stored size: 501 Bytes

Contents

//= require sufia/uploader
// This file is the default initialization of the fileupload.  If you want to call
// sufiaUploader 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').sufiaUploader(options);
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sufia-7.4.1 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.4.0 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.3.1 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.3.0 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.3.0.rc3 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.3.0.rc2 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.3.0.rc1 app/assets/javascripts/sufia/fileupload.js.erb
sufia-7.2.0 app/assets/javascripts/sufia/fileupload.js.erb