Permalink
Browse files

refresh page to activate new language interface after setting it

  • Loading branch information...
1 parent 9c93bb1 commit cb6a55259929844e946a85ceff724afdaa320dcd Spiros Ioannou committed Mar 22, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 php/settings.php
View
@@ -3,9 +3,14 @@
$(document).ready(function() {
-});
+<?php
+if (isset($_POST['dateformat']) ) { //if we came from a post (save), refresh to show new language
+ echo "window.location=window.location;";
+}
+?>
+});
</SCRIPT>
<?php

0 comments on commit cb6a552

Please sign in to comment.