Created
May 7, 2010 19:01
-
-
Save gdakram/393869 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//--<![CDATA[ | |
$j(document).ready(function(){ | |
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,""); | |
$j.ajax({ | |
url : "/qaws/set_language_version/"+citizen_id, | |
type : "POST", | |
dataType : "script", | |
data : "language_version_id=2" | |
}); | |
}); | |
//--]]> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Easy Reading, you will replace language_version_id, like so...
data : "language_version_id=1"
If you want to reset the language version preference, just delete the data line. In that case, please sure to delete the trailing comma in the line before.