projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b5bb90
)
Skip if we are already in the correct view.
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 14 Dec 2009 19:45:37 +0000
(12:45 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 15 Dec 2009 00:49:20 +0000
(17:49 -0700)
imp/js/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/ViewPort.js
b/imp/js/ViewPort.js
index
b0985ae
..
43de85e
100644
(file)
--- a/
imp/js/ViewPort.js
+++ b/
imp/js/ViewPort.js
@@
-212,7
+212,7
@@
var ViewPort = Class.create({
this.page_size = ps;
}
- if (this.view) {
+ if (this.view
&& (view != this.view)
) {
if (!background) {
// Need to store current buffer to save current offset
buffer = this._getBuffer();