BUGFIX Language switcher dropdown javascript uses baseHref() to avoid invalid relative links in IE8 (#4891)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97210 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-01-19 08:53:46 +00:00 committed by Sam Minnee
parent cda3d5ae2a
commit 6e09296937

View File

@ -15,7 +15,7 @@ LangSelectorClass.prototype = {
onchange: function(e, val) {
if(this.value != _TRANSLATING_LANG) {
_TRANSLATING_LANG = this.value;
document.location = 'admin/?locale=' + this.value;
document.location = baseHref() + 'admin/?locale=' + this.value;
}
},