mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 14:44:26 +08:00
Fix sample types & groups when editing sample in samples table
Closes SCI-811.
This commit is contained in:
parent
d565cb4eef
commit
e52277bdad
1 changed files with 4 additions and 2 deletions
|
@ -239,8 +239,10 @@ $.fn.makeDropdownOptionsLinks = function(selectedIdx, urlParam) {
|
|||
} else {
|
||||
$(this).attr('href', '#');
|
||||
}
|
||||
})
|
||||
.eq(selectedIdx).attr('selected', true);
|
||||
});
|
||||
$(this)
|
||||
.find('option[value=' + selectedIdx + ']')
|
||||
.attr('selected', true);
|
||||
|
||||
return this;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue