mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 16:45:18 +08:00
Merge pull request #921 from okriuchykhin/ok_SCI_1648
Fix assign repository record button in tasks when one record is selected [SCI-1648]
This commit is contained in:
commit
3d3b1d3a44
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…
Add table
Reference in a new issue