Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed 648, anchors in URLs break the edit toggle

  • Loading branch information...
commit 7cfaf403871d9459f38983d0e5de727f5781c5f5 1 parent fa5461a
@ojii ojii authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/media/cms/js/tools.js
View
4 cms/media/cms/js/tools.js
@@ -34,13 +34,13 @@ function insert_into_url(url, name, value){
}
}
if(dash_splits.length>1){
- url += dash_splits[1];
+ url += '#' + dash_splits[1];
}
if(url.substr(url.length-1, url.length)== "&"){
url = url.substr(0, url.length-1);
}
return url;
-}
+};
/* removes a parameter from an url */
function remove_from_url(url, name){
Please sign in to comment.
Something went wrong with that request. Please try again.