Remove protocol and host.

This commit is contained in:
bootstraponline
2012-08-22 13:32:11 -06:00
parent 1e768734ef
commit b80f74bccd
@@ -97,7 +97,7 @@ $.save = function( commitMessage ) {
var markdown = 'markdown';
var txt = editorSession.getValue();
var msg = defaultCommitMessage();
var newLocation = location.protocol + '//' + location.host + baseUrl;
var newLocation = baseUrl;
// 'a%2Fb' => a/b
if (pathName) {