BUG Fixing "public function" not allowed in SilverStripeNavigator.js

This commit is contained in:
Sean Harvey 2012-09-24 15:14:38 +12:00
parent 2c4ebd3cb9
commit 548ec241a9

View File

@ -1,4 +1,4 @@
public function windowName(suffix) {
function windowName(suffix) {
var base = document.getElementsByTagName('base')[0].href.replace('http://','').replace(/\//g,'_').replace(/\./g,'_');
return base + suffix;
}