From 9a0c1f260566261431e211a7a78ed4d6b813f753 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Mon, 6 Aug 2012 15:18:15 -0600 Subject: [PATCH] Fix path. --- lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js index 6caf2d01..116f1672 100644 --- a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js +++ b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js @@ -102,6 +102,7 @@ $.save = function( commitMessage ) { // 'a%2Fb' => a/b if (pathName) { newLocation += '/' + unescape(pathName); + pathName = pathName + '/'; // pathName must end with / } newLocation += '/' + pageName;