diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a8cffcb31f..9bce51d906 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-01-28 Sergio Martin <sergio.martin@artica.es> + + * mobile/operation/events.php: Fix event loading when + the screen is bigger than the initial list height + 2014-01-28 Sergio Martin <sergio.martin@artica.es> * include/languages/ca.mo diff --git a/pandora_console/mobile/operation/events.php b/pandora_console/mobile/operation/events.php index 8c0c8cc463..38c251cc23 100644 --- a/pandora_console/mobile/operation/events.php +++ b/pandora_console/mobile/operation/events.php @@ -935,9 +935,10 @@ class Events { add_rows(data); //For large screens load the new events - if (document.documentElement.scrollHeight == document.documentElement.clientHeight) { + if (document.documentElement.scrollHeight <= document.documentElement.clientHeight) { ajax_load_rows(); } + }, \"json\"); }