From 0955cf35d32d1ae7f068af984b1c03ed2a38beb2 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 16 Dec 2009 00:24:33 -0700 Subject: [PATCH] Remove this code - it was not eventually needed for the unseen search --- imp/js/ViewPort.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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); -- 2.11.0