Update commonobject.class.php

This commit is contained in:
Frédéric FRANCE 2014-11-30 22:06:58 +01:00
parent ef4bdcdb2a
commit a3d843f698

View File

@ -3603,7 +3603,7 @@ abstract class CommonObject
break; break;
} }
$out .= '</td>'."\n"; $out .= '</td>';
if (! empty($conf->global->MAIN_EXTRAFIELDS_USE_TWO_COLUMS) && (($e % 2) == 1)) $out .= '</tr>'; if (! empty($conf->global->MAIN_EXTRAFIELDS_USE_TWO_COLUMS) && (($e % 2) == 1)) $out .= '</tr>';
else $out .= '</tr>'; else $out .= '</tr>';
@ -3611,7 +3611,6 @@ abstract class CommonObject
} }
} }
$out .= "\n"; $out .= "\n";
$out .= '<!-- /showOptionalsInput --> ';
$out .= ' $out .= '
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function() { jQuery(document).ready(function() {
@ -3640,7 +3639,8 @@ abstract class CommonObject
setListDependencies(); setListDependencies();
}); });
</script>'; </script>'."\n";
$out .= '<!-- /showOptionalsInput --> '."\n";
} }
return $out; return $out;
} }