Merge pull request #2308 from okriuchykhin/ok_SCI_4226

Disable repository filtering in edit mode [SCI-4226]
This commit is contained in:
Alex Kriuchykhin 2020-01-15 15:43:17 +01:00 committed by GitHub
commit 6e24dd4eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,7 @@ var RepositoryDatatable = (function(global) {
$('#repository-columns-dropdown').find('.dropdown-toggle').prop('disabled', false); $('#repository-columns-dropdown').find('.dropdown-toggle').prop('disabled', false);
$('th').removeClass('disable-click'); $('th').removeClass('disable-click');
$('.repository-row-selector').prop('disabled', false); $('.repository-row-selector').prop('disabled', false);
$('.dataTables_filter input').prop('disabled', false);
if (rowsSelected.length === 0) { if (rowsSelected.length === 0) {
$('#exportRepositoriesButton').addClass('disabled'); $('#exportRepositoriesButton').addClass('disabled');
$('#copyRepositoryRecords').prop('disabled', true); $('#copyRepositoryRecords').prop('disabled', true);
@ -88,6 +89,7 @@ var RepositoryDatatable = (function(global) {
$('#repository-columns-dropdown').find('.dropdown-toggle').prop('disabled', true); $('#repository-columns-dropdown').find('.dropdown-toggle').prop('disabled', true);
$('th').addClass('disable-click'); $('th').addClass('disable-click');
$('.repository-row-selector').prop('disabled', true); $('.repository-row-selector').prop('disabled', true);
$('.dataTables_filter input').prop('disabled', true);
} }
} }