ensure non url chars are not used for pad names or pad links

This commit is contained in:
Peter 'Pita' Martischka 2011-07-26 16:17:02 +01:00
parent e56ef9c26e
commit b43c7e7c99
2 changed files with 12 additions and 3 deletions

View file

@ -52,7 +52,7 @@
$(window).load(function ()
{
//get the padId out of the url
var urlParts= document.URL.split("/");
var urlParts= document.pathname.split("/");
padId = urlParts[urlParts.length-2];
//set the title