From: Michael M Slusarz Date: Wed, 16 Dec 2009 07:24:33 +0000 (-0700) Subject: Remove this code - it was not eventually needed for the unseen search X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0955cf35d32d1ae7f068af984b1c03ed2a38beb2;p=horde.git Remove this code - it was not eventually needed for the unseen search --- diff --git a/imp/js/ViewPort.js b/imp/js/ViewPort.js index 9ab894b5d..d8b2e2e9d 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/ViewPort.js @@ -262,13 +262,7 @@ var ViewPort = Class.create({ } if (this.view) { - if (!background) { - // If this is the same view, send an ajax request with the - // given parameters. - if (view == this.view) { - return this._fetchBuffer({ search: search }); - } - + if (!background && (view != this.view)) { // Need to store current buffer to save current offset buffer = this._getBuffer(); buffer.setMetaData({ offset: this.currentOffset() }, true);