Merge branch 'ent-4505-Errores-en-el-black-theme' into 'develop'

add deleted condition

See merge request artica/pandorafms!2660
This commit is contained in:
Daniel Rodriguez 2019-08-16 10:51:59 +02:00
commit d690ef1a5d
1 changed files with 6 additions and 3 deletions

View File

@ -1323,9 +1323,12 @@ require 'include/php_to_js_values.php';
<script type="text/javascript" language="javascript">
// When there are less than 5 rows, all rows must be white.
if($('table.info_table tr').length < 5){
$('table.info_table tbody > tr').css('background-color', '#fff');
// When there are less than 5 rows, all rows must be white
var theme = "<?php echo $config['style']; ?>";
if(theme === 'pandora'){
if($('table.info_table tr').length < 5){
$('table.info_table tbody > tr').css('background-color', '#fff');
}
}
// When the user scrolls down 400px from the top of the document, show the