From 15e9d08eaa63732461cdb9ee9f148a9816c9ea9d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Dec 2011 22:17:30 +0100 Subject: [PATCH] BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback --- javascript/CMSPageHistoryController.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/javascript/CMSPageHistoryController.js b/javascript/CMSPageHistoryController.js index 9b3f7801..be6a0917 100644 --- a/javascript/CMSPageHistoryController.js +++ b/javascript/CMSPageHistoryController.js @@ -72,10 +72,8 @@ button = this.find(':submit[name=action_doShowVersion]'); url = ss.i18n.sprintf(metadata['link-tmpl-show'], id,to); } - - window.History.pushState({selector: '.cms-edit-form'}, '', url); - - return false; + + $('.cms-container').loadPanel(url, '', {selector: '.cms-edit-form'}); } });