[bknr-cvs] ksprotte changed trunk/projects/bos/payment-website/static/bos.js

BKNR Commits bknr at bknr.net
Tue Sep 2 08:37:24 UTC 2008


Revision: 3766
Author: ksprotte
URL: http://bknr.net/trac/changeset/3766

window_infosys detects the language from a document body attribute.
fixed the namespace: bos:lang

U   trunk/projects/bos/payment-website/static/bos.js

Modified: trunk/projects/bos/payment-website/static/bos.js
===================================================================
--- trunk/projects/bos/payment-website/static/bos.js	2008-09-01 19:40:08 UTC (rev 3765)
+++ trunk/projects/bos/payment-website/static/bos.js	2008-09-02 08:37:24 UTC (rev 3766)
@@ -22,7 +22,7 @@
 
 // ***  extrafenster fuer satellitenkarte *** //
 function window_infosys() {
-    var url = "/infosystem/" + document.body.lang + "/satellitenkarte.htm";
+    var url = "/infosystem/" + document.body.getAttribute("bos:lang") + "/satellitenkarte.htm";
 
     var sponsorid_input = document.getElementById('sponsorid-input');
     var password_input = document.getElementById('password-input');




More information about the Bknr-cvs mailing list