mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
Merge pull request #392 from okriuchykhin/ok_SCI_858
Fixes wrong samples info modals being shown in samples datatable [SCI-858]
This commit is contained in:
commit
3f930ccfce
2 changed files with 2 additions and 1 deletions
|
@ -329,6 +329,7 @@ function appendSamplesIdToForm(form) {
|
||||||
//Show sample info
|
//Show sample info
|
||||||
function sampleInfoListener() {
|
function sampleInfoListener() {
|
||||||
$(".sample_info").on("click", function(e){
|
$(".sample_info").on("click", function(e){
|
||||||
|
$("#modal-info-sample").remove();
|
||||||
var that = $(this);
|
var that = $(this);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: "GET",
|
method: "GET",
|
||||||
|
|
|
@ -53,4 +53,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue