projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6ad17
)
Only load the next view if it's different from the current view (Bug #9436).
author
Jan Schneider
<jan@horde.org>
Wed, 8 Dec 2010 12:56:55 +0000
(13:56 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 8 Dec 2010 12:56:55 +0000
(13:56 +0100)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
2d2e5f6
..
fe74cb9
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-580,11
+580,13
@@
KronolithCore = {
*/
loadNextView: function()
{
- this.viewLoading.shift();
+
var current =
this.viewLoading.shift();
if (this.viewLoading.size()) {
var next = this.viewLoading.pop();
this.viewLoading = [];
- this.go(next[0], next[1]);
+ if (current[0] != next[0] || current[1] || next[1]) {
+ this.go(next[0], next[1]);
+ }
}
},