mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Merge pull request #2308 from okriuchykhin/ok_SCI_4226
Disable repository filtering in edit mode [SCI-4226]
This commit is contained in:
commit
6e24dd4eb6
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue