Permalink
Browse files

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

  • Loading branch information...
1 parent 2c4ebd3 commit 548ec241a97ad18ddbc7c0dbd77f7f66dc2625e7 @halkyon halkyon committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/SilverStripeNavigator.js
@@ -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;
}

0 comments on commit 548ec24

Please sign in to comment.