mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 17:36:13 +08:00
Fix assign repository record button in tasks when one record is selected [SCI-1648]
This commit is contained in:
parent
44f0336a96
commit
27008be50e
1 changed files with 2 additions and 1 deletions
|
@ -725,7 +725,8 @@ var RepositoryDatatable = (function(global) {
|
|||
$('#unassignRepositoryRecords').addClass('disabled');
|
||||
$('#unassignRepositoryRecords').prop('disabled', true);
|
||||
} else {
|
||||
if (rowsSelected.length === 1) {
|
||||
if (rowsSelected.length === 1 &&
|
||||
$('#exportRepositoriesButton').get(0)) {
|
||||
$('#editRepositoryRecord').prop('disabled', false);
|
||||
$('#editRepositoryRecord').removeClass('disabled');
|
||||
|
||||
|
|
Loading…
Reference in a new issue