diff --git a/web/api.php b/web/api.php index d37e95b..bfbb9f2 100644 --- a/web/api.php +++ b/web/api.php @@ -74,7 +74,7 @@ switch($action) } } if(is_array($emaillist)) - ksort($emaillist); + krsort($emaillist); $data = (count($emaillist)?$emaillist:array()); } diff --git a/web/js/opentrashmail.js b/web/js/opentrashmail.js index 4694fdc..f528ea5 100644 --- a/web/js/opentrashmail.js +++ b/web/js/opentrashmail.js @@ -89,11 +89,16 @@ function updateEmailTable() var admin=false; if(data.type=="admin") { - clearInterval(timer); + //clearInterval(timer); admin = true; - $('#tableheader').children(':eq(1)').after('