From 60a31c517e5d11da5153d3bfbbb64c5eb56c9eec Mon Sep 17 00:00:00 2001 From: hartvig Date: Sun, 25 Jul 2010 21:26:01 +0000 Subject: [PATCH] Fixes 28213 [TFS Changeset #73912] --- umbraco/presentation/umbraco/umbraco.aspx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/umbraco/presentation/umbraco/umbraco.aspx b/umbraco/presentation/umbraco/umbraco.aspx index 65f69a2102..fea82fea58 100644 --- a/umbraco/presentation/umbraco/umbraco.aspx +++ b/umbraco/presentation/umbraco/umbraco.aspx @@ -114,7 +114,7 @@ //used for deeplinking to specific content whilst still showing the tree var initApp = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["app"]%>'; var rightAction = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["rightAction"]%>'; - var rightActionId = '{<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["id"]%>}'; + var rightActionId = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["id"]%>'; jQuery(document).ready(function () { @@ -139,6 +139,9 @@ if (rightAction != '') { //if an action is specified, then load it + UmbClientMgr.historyManager().addHistory(initApp != "" ? initApp : + UmbClientMgr.historyManager().getCurrent() != "" ? UmbClientMgr.historyManager().getCurrent() : + "<%=DefaultApp%>", true); UmbClientMgr.contentFrame(rightAction + ".aspx?id=" + rightActionId); } else {