Skip to content

Commit

Permalink
[mms] Fix scrolling through large search mailboxes in dynamic view (B…
Browse files Browse the repository at this point in the history
…ug #13138).

Conflicts:
	imp/docs/CHANGES
	imp/package.xml
  • Loading branch information
slusarz committed Apr 22, 2014
1 parent 405e1c2 commit 1fcfc5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions imp/docs/CHANGES
Expand Up @@ -78,6 +78,8 @@ v6.1.8
view (João Machado <geral@jpaulo.eu>).
[mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view
(João Machado <geral@jpaulo.eu>).
[mms] Fix scrolling through large search mailboxes in dynamic view (Bug
#13138).
[mms] Better handling of malformed message dates in mailbox listing (Bug
#13114).
[jan] Update Korean translation (Deokgon Kim <dgkim@dgkim.net>).
Expand Down
11 changes: 7 additions & 4 deletions imp/lib/Ajax/Application/ListMessages.php
Expand Up @@ -131,10 +131,13 @@ public function listMessages($args)

if ($is_search) {
/* For search mailboxes, we need to invalidate all browser data
* and repopulate, since BUIDs may have changed. */
$args['cache'] = array();
$args['change'] = true;
$result->data_reset = $result->rowlist_reset = true;
* and repopulate on force update, since BUIDs may have
* changed (TODO: only do this if search mailbox has changed?). */
if (!empty($args['change'])) {
$args['cache'] = array();
$args['change'] = true;
$result->data_reset = $result->rowlist_reset = true;
}
} elseif (!$args['initial'] && $args['cacheid'] && $args['cache']) {
/* Check for UIDVALIDITY expiration. If it has changed, we need to
* purge the cached items on the browser. */
Expand Down
1 change: 1 addition & 0 deletions imp/package.xml
Expand Up @@ -3566,6 +3566,7 @@
* [mms] SECURITY: Fix XSS in displaying user-defined flags in basic mailbox and message view.
* [mms] SECURITY: Fix XSS in displaying user-defined flags in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] Fix scrolling through large search mailboxes in dynamic view (Bug #13138).
* [mms] Better handling of malformed message dates in mailbox listing (Bug #13114).
* [jan] Update Korean translation (Deokgon Kim &lt;dgkim@dgkim.net&gt;).
</notes>
Expand Down

0 comments on commit 1fcfc5e

Please sign in to comment.