diff --git a/apps/maarch_entreprise/js/indexing.js b/apps/maarch_entreprise/js/indexing.js index c3a52d934231c75c079d546fccd16c0635a611c9..c5fc211e6423c62a8015209c9ce7be0701dd758d 100755 --- a/apps/maarch_entreprise/js/indexing.js +++ b/apps/maarch_entreprise/js/indexing.js @@ -386,6 +386,8 @@ function change_category(cat_id, display_value_tr, path_manage_script,get_js_scr if(cat_id == 'incoming') { var category = [ + {id:'attachment_tr', type:'tr', state:'display'}, ++ {id:'attach_show', type:'tr', state:'display'}, {id:'doctype_mail', type:'label', state:'display'}, {id:'doctype_res', type:'label', state:'hide'}, {id:'priority_tr', type:'tr', state:'display'}, @@ -801,7 +803,7 @@ function change_category(cat_id, display_value_tr, path_manage_script,get_js_scr {id:'contact_mandatory', type:'label', state:'hide'}, {id:'nature_id_mandatory', type:'label', state:'hide'}, {id:'subject_mandatory', type:'label', state:'hide'}, - //{id:'subject_tr', type:'label', state:'hide'}, + {id:'subject_tr', type:'label', state:'hide'}, {id:'destination_mandatory', type:'label', state:'hide'}, {id:'process_limit_date_use_mandatory', type:'label', state:'hide'}, {id:'process_limit_date_mandatory', type:'label', state:'hide'}, @@ -906,18 +908,6 @@ function change_category(cat_id, display_value_tr, path_manage_script,get_js_scr } }); } - // NCH01 - if(cat_id == 'attachment'){ - document.getElementById("attachment_tr").style.display='table-row'; - document.getElementById("attach_show").style.display='table-row'; - document.getElementById("subject_tr").style.display = 'none'; - document.getElementById("diff_list_tr").style.display = 'none'; - }else{ - document.getElementById("attachment_tr").style.display='none'; - document.getElementById("attach_show").style.display='none'; - document.getElementById("diff_list_tr").style.display = 'table-row'; - document.getElementById("subject_tr").style.display = 'table-row'; - } } /**