app/assets/javascripts/sufia/app.js in sufia-7.1.0 vs app/assets/javascripts/sufia/app.js in sufia-7.2.0
- old
+ new
@@ -8,12 +8,18 @@
this.popovers();
this.permissions();
this.notifications();
this.transfers();
this.relationships_table();
+ this.file_manager_init();
+ this.datatable();
},
+ datatable: function () {
+ $('.datatable').DataTable();
+ },
+
autocomplete: function () {
var ac = require('sufia/autocomplete');
var autocomplete = new ac.Autocomplete()
$('.multi_value.form-group').manage_fields({
add: function(e, element) {
@@ -64,11 +70,13 @@
relationships_table: function () {
var rel = require('sufia/relationships/table');
$('table.relationships-ajax-enabled').each(function () {
new rel.RelationshipsTable($(this));
});
- }
-};
+ },
-Blacklight.onLoad(function () {
- Sufia.initialize();
-});
+ file_manager_init: function () {
+ var fm = require('curation_concerns/file_manager');
+ var file_manager = new fm
+ },
+
+};