scinote-web/app/assets/javascripts/repositories/my_module_repository.js

14 lines
308 B
JavaScript
Raw Normal View History

(function() {
'use strict';
function initTable() {
RepositoryDatatable.destroy()
RepositoryDatatable.init($('#content').attr('data-repo-id'));
RepositoryDatatable.redrawTableOnSidebarToggle();
2018-07-19 23:56:42 +08:00
onClickToggleAssignedRecords();
}
// initialze repository datatable
2018-07-19 23:56:42 +08:00
initTable();
}());