mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUG Fixing "public function" not allowed in SilverStripeNavigator.js
This commit is contained in:
parent
2c4ebd3cb9
commit
548ec241a9
@ -1,4 +1,4 @@
|
|||||||
public function windowName(suffix) {
|
function windowName(suffix) {
|
||||||
var base = document.getElementsByTagName('base')[0].href.replace('http://','').replace(/\//g,'_').replace(/\./g,'_');
|
var base = document.getElementsByTagName('base')[0].href.replace('http://','').replace(/\//g,'_').replace(/\./g,'_');
|
||||||
return base + suffix;
|
return base + suffix;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user