summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-08-27 17:06:15 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-08-27 17:06:15 -0400
commiteee7d8da50045e6b659466f8567a4672b37184f4 (patch)
treebefb551ac12719c469d914a55684084ae772e0b1 /settings/js/personal.js
parent6ec4d5850833554736cf006f07333858afdd5627 (diff)
downloadnextcloud-server-eee7d8da50045e6b659466f8567a4672b37184f4.tar.gz
nextcloud-server-eee7d8da50045e6b659466f8567a4672b37184f4.zip
Reload the personal page when a new language is set
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index b814d436e7c..e38eef62a8b 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -31,6 +31,7 @@ $(document).ready(function(){
// Ajax foo
$.post( 'ajax/setlanguage.php', post, function(data){
if( data.status == "success" ){
+ location.reload();
}
else{
$('#passworderror').html( data.data.message );