diff --git a/appli/templates/layout.html b/appli/templates/layout.html
index 518c930f..6aef0623 100644
--- a/appli/templates/layout.html
+++ b/appli/templates/layout.html
@@ -13,7 +13,7 @@
-
+
{%if g.get('useselect4') %}
{%else %}
@@ -30,16 +30,14 @@
-{# #}
- {%if g.get('useselect4') %}
+{%if g.get('useselect4') %}
- {%else %}
+{%else %}
{% endif %}
-
diff --git a/appli/templates/project/classiftab.html b/appli/templates/project/classiftab.html
index 6059ccc3..7378a4ca 100644
--- a/appli/templates/project/classiftab.html
+++ b/appli/templates/project/classiftab.html
@@ -90,15 +90,24 @@
{% if g.PrjAnnotate %}
{# Traitement de la Liste des objets TD Ã traiter. #}
function ProcessList(LstTd,droptaxoid,droptaxoname) {
- var TrSet = new Set();
+ var TrSet = new Set(),i;
PendingChangesTaxoName[droptaxoid]=droptaxoname;
+ var taxopart=droptaxoname.split('<');
+ var HtmlTaxo="
"+taxopart[0]+"";
+ if(taxopart.length>1){
+ HtmlTaxo+="
";
+ for(i= 1; i < taxopart.length; i++)
+ HtmlTaxo+=" < "+taxopart[i];
+ HtmlTaxo+="";
+ }
+
// Traitement des cellules
- for(var i= 0; i < LstTd.length; i++) {
+ for(i= 0; i < LstTd.length; i++) {
var td=LstTd[i];
td.removeClass("ui-selected");
- td.addClass("ToBeSaved")
+ td.addClass("ToBeSaved");
var id = td.find('img').attr('id');
- td.find('.taxo').text(droptaxoname);
+ td.find('.taxo').html(HtmlTaxo);
td.find('.subimg').css("height",'').css("width",'').css("left",'').css("top",'').css("right",'').css("bottom",'');
td.find('.subimg').attr('class','subimg status-validated');
TrSet.add(td.closest('tr').attr('id'));
@@ -113,14 +122,14 @@
// sur table 200 images à 10% ca Freeze 1s
// Sur 50&100 ca ne se voit pas
//for ( trid of TrSet) Marche pas sous IE
- TRArray=Array.from(TrSet)
- for(var i= 0; i < TRArray.length; i++)
+ TRArray=Array.from(TrSet);
+ for(i= 0; i < TRArray.length; i++)
{
var trid=TRArray[i];
$('#' + trid).find('td img').resize();
//console.log("resize #"+trid);
}
- var calctotaux={}
+ var calctotaux={};
for (var k in PendingChanges) {
v=0;
if (PendingChanges[k] in calctotaux) v=calctotaux[PendingChanges[k]];
@@ -128,7 +137,7 @@
}
var Msg="Pending Changes : ";
PendingChangesTaxoName[-1]="Unchanged";
- for (var k in calctotaux)
+ for (k in calctotaux)
Msg=Msg+calctotaux[k]+" "+PendingChangesTaxoName[k]+", ";
$('.PendingChangesClass').text(Msg);
document.getElementById("BtnSave").disabled = false;
diff --git a/appli/templates/project/popupeditpreset.html b/appli/templates/project/popupeditpreset.html
index ebce13e9..a8449dc8 100644
--- a/appli/templates/project/popupeditpreset.html
+++ b/appli/templates/project/popupeditpreset.html
@@ -12,7 +12,7 @@