Skip to content

Commit

Permalink
Don't store the navigation in the history
Browse files Browse the repository at this point in the history
  • Loading branch information
roccivic committed Oct 30, 2012
1 parent 88d52b8 commit e387531
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/ajax.js
Expand Up @@ -367,8 +367,7 @@ AJAX.cache = {
content: $('#page_content').html(),
scripts: scripts,
selflink: $('#selflink').html(),
menu: menu,
navigation: $('#pma_navigation').html()
menu: menu
});
setURLHash(this.current, hash);
this.current++;
Expand All @@ -385,7 +384,6 @@ AJAX.cache = {
AJAX.scriptHandler.reset();
$('#page_content').html(record.content);
$('#selflink').html(record.selflink);
$('#pma_navigation').html(record.navigation);
this.menus.replace(this.menus.get(record.menu));
AJAX.scriptHandler.load(record.scripts);
this.current = ++index;
Expand All @@ -395,7 +393,6 @@ AJAX.cache = {
var page = this.pages[this.current - 1];
if (page) {
page.content = $('#page_content').html();
page.navigation = $('#pma_navigation').html();
}
},
menus: {
Expand Down

0 comments on commit e387531

Please sign in to comment.