fix quarantine substitue action

This commit is contained in:
aina-esokia
2018-10-10 18:29:24 +04:00
parent 8768cd84f7
commit 39ec2d5e56
2 changed files with 3 additions and 6 deletions

View File

@@ -8,6 +8,7 @@
data-kind="{{ record.story ? 'REG' : 'RESULT' }}"
data-position="{{ record.position|default(0) }}"
data-id="{{ record.id }}"
data-record_id="{{ record.recordId }}"
>
<div style="padding: 4px;">
<div style="height:40px; position: relative; z-index: 95;margin-bottom:0;border-bottom:none;">

View File

@@ -262,14 +262,10 @@
var elements = [];
var nbElement = 0;
if(nbProposals > 1){ // we got more than one proposals
if(nbProposals >= 1){
elements = $(".selected", container);
nbElement = elements.length;
}else if(nbProposals == 1){
elements = container.find(".records-subititution");
nbElement = 1
}
else{
}else{
return false;
}