mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
fix issue
This commit is contained in:
@@ -118,9 +118,7 @@
|
|||||||
$("button.subtitute-lazaret", scope).bind('click', function(){
|
$("button.subtitute-lazaret", scope).bind('click', function(){
|
||||||
var that = $(this);
|
var that = $(this);
|
||||||
var lazaretId = getLazaretId(that);
|
var lazaretId = getLazaretId(that);
|
||||||
var nbProposals = $('.records-subititution',$(this).closest('.lazaret-proposals')).length;
|
var nbProposals = $('.records-subititution', $(this).closest('.wrapper-item')).length;
|
||||||
|
|
||||||
var nbErrors = 0;
|
|
||||||
|
|
||||||
if(nbProposals > 1){ // we got more than one proposals
|
if(nbProposals > 1){ // we got more than one proposals
|
||||||
var elements = $(".thumb-selected", $(this).closest('.wrapper-item'));
|
var elements = $(".thumb-selected", $(this).closest('.wrapper-item'));
|
||||||
|
Reference in New Issue
Block a user