diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index db169721ce..d5784bb815 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1086,7 +1086,7 @@ unset($query['actions']); $rows = $this->header2gridelements($sortResult['header'],$cols, $_folderName, $folderType,$previewMessage); //error_log(__METHOD__.__LINE__.array2string($rows)); $endtime = microtime(true) - $starttime; - //error_log(__METHOD__.__LINE__.' SelectedFolder:'.$query['selectedFolder'].' Start:'.$query['start'].' NumRows:'.$query['num_rows'].' Took:'.$endtime); + error_log(__METHOD__.__LINE__.' SelectedFolder:'.$query['selectedFolder'].' Start:'.$query['start'].' NumRows:'.$query['num_rows'].' Took:'.$endtime); return $rowsFetched['messages']; } diff --git a/mail/js/app.js b/mail/js/app.js index 8c46ff9fee..08f6ef921f 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -576,7 +576,7 @@ app.mail = AppJS.extend( } var nm = _widget.getRoot().getWidgetById('nm'); nm.activeFilters["selectedFolder"] = folder; - nm.applyFilters(); + //nm.applyFilters();// its done in refrefreshMessageGrid var msg = _widget.getRoot().getWidgetById('msg'); if (msg) { @@ -591,7 +591,7 @@ app.mail = AppJS.extend( myMsg = (displayname?displayname:folder)+' '+egw.lang('selected'); app.mail.app_refresh(myMsg, 'mail'); } - //mail_refreshMessageGrid(); + //mail_refreshMessageGrid();// its done in refreshFolderStatus already this.mail_refreshFolderStatus(folder,'forced'); this.mail_startTimerFolderStatusUpdate(this.mail_refreshTimeOut); this.mail_fetchCurrentlyFocussed(null,true);