Resolve bug introduce by issue #0001219
This commit is contained in:
parent
88478b95f9
commit
923671261b
@ -10,12 +10,8 @@
|
||||
<li><?=$this->Field('eff_entrep')?></li>
|
||||
<li class="advanced"><?=$this->Field('eff_etab')?></li>
|
||||
<li class="advanced"><?=$this->Field('nbEtab')?></li>
|
||||
<li class="mode"><img src="/themes/default/images/fleche-bas.gif" /></li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="mode" id="a_economique" style="cursor:pointer;margin-left:50%">
|
||||
<img src="/themes/default/images/fleche-bas.gif" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div style="text-align:right;margin-top:20px;">
|
||||
<a class="resetFamille" id="economique">Réinitialiser les critères economiques</a>
|
||||
|
@ -19,12 +19,8 @@
|
||||
<li class="advanced"><?=$this->Field('bilHM')?></li>
|
||||
<li class="advanced"><?=$this->Field('bilHN')?></li>
|
||||
<li class="advanced"><?=$this->Field('bilYP')?></li>
|
||||
<li class="mode"><img src="/themes/default/images/fleche-bas.gif" /></li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="mode" id="a_financiere" style="cursor:pointer;margin-left:50%">
|
||||
<img src="/themes/default/images/fleche-bas.gif" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div style="text-align:right;margin-top:20px;">
|
||||
<a class="resetFamille" id="financier">Réinitialiser les critères financiers</a>
|
||||
|
@ -5,12 +5,8 @@
|
||||
<li><?=$this->Field('procolHisto')?></li>
|
||||
<li><?=$this->Field('dateImmat')?></li>
|
||||
<li class="advanced"><?=$this->Field('tvaIntraValide')?></li>
|
||||
<li class="mode"><img src="/themes/default/images/fleche-bas.gif" /></li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="mode" id="a_juridique" style="cursor:pointer;margin-left:50%">
|
||||
<img src="/themes/default/images/fleche-bas.gif" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div style="text-align:right;margin-top:20px;">
|
||||
<a class="resetFamille" id="econmique">Réinitialiser les critères juridique</a>
|
||||
|
@ -55,15 +55,14 @@ $(document).ready(function(){
|
||||
|
||||
$('.mode').click(function() {
|
||||
var mode = 0;
|
||||
$('ul#fieldsblock li').each(function() {
|
||||
if ($(this).attr('class')=='advanced') {
|
||||
var obj = $(this).parent('ul#fieldsblock');
|
||||
$(obj).children('li.advanced').each(function() {
|
||||
if($(this).css('display')=='none') {
|
||||
$(this).css('display', 'block');
|
||||
mode++;
|
||||
} else {
|
||||
$(this).css('display', 'none');
|
||||
}
|
||||
}
|
||||
});
|
||||
if (mode==0) {
|
||||
$(this).html('<img src="/themes/default/images/fleche-bas.gif" />');
|
||||
|
@ -258,6 +258,11 @@ ul#fieldsblock li.advanced {
|
||||
display:none;
|
||||
}
|
||||
|
||||
ul#fieldsblock li.mode {
|
||||
text-align:center;
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
|
||||
ul#fieldsblock li div.fieldgrp {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
|
Loading…
Reference in New Issue
Block a user