projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switching languages now works again
[citadel.git]
/
webcit
/
static
/
wclib.js
diff --git
a/webcit/static/wclib.js
b/webcit/static/wclib.js
index 711bbf52060234364254cec26df420344f227072..bb193c7b2b5f04d468ac085b35dbb00472e612ba 100644
(file)
--- a/
webcit/static/wclib.js
+++ b/
webcit/static/wclib.js
@@
-876,3
+876,10
@@
function ConfirmLogoff() {
}
);
}
+
+
+function switch_to_lang(new_lang) {
+ p = 'push?url=' + encodeURI(window.location);
+ new Ajax.Request(p, { method: 'get' } );
+ window.location = 'switch_language?lang=' + new_lang ;
+}