mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
fix quarantine substitue action
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
data-kind="{{ record.story ? 'REG' : 'RESULT' }}"
|
data-kind="{{ record.story ? 'REG' : 'RESULT' }}"
|
||||||
data-position="{{ record.position|default(0) }}"
|
data-position="{{ record.position|default(0) }}"
|
||||||
data-id="{{ record.id }}"
|
data-id="{{ record.id }}"
|
||||||
|
data-record_id="{{ record.recordId }}"
|
||||||
>
|
>
|
||||||
<div style="padding: 4px;">
|
<div style="padding: 4px;">
|
||||||
<div style="height:40px; position: relative; z-index: 95;margin-bottom:0;border-bottom:none;">
|
<div style="height:40px; position: relative; z-index: 95;margin-bottom:0;border-bottom:none;">
|
||||||
|
@@ -262,14 +262,10 @@
|
|||||||
var elements = [];
|
var elements = [];
|
||||||
var nbElement = 0;
|
var nbElement = 0;
|
||||||
|
|
||||||
if(nbProposals > 1){ // we got more than one proposals
|
if(nbProposals >= 1){
|
||||||
elements = $(".selected", container);
|
elements = $(".selected", container);
|
||||||
nbElement = elements.length;
|
nbElement = elements.length;
|
||||||
}else if(nbProposals == 1){
|
}else{
|
||||||
elements = container.find(".records-subititution");
|
|
||||||
nbElement = 1
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user