aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/js/personal.js4
-rw-r--r--settings/templates/personal.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index ad3fb706fd0..65bb81b0f04 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -31,7 +31,9 @@ $(document).ready(function(){
}
});
-
+
+ $("#languageinput").chosen();
+
$("#languageinput").change( function(){
// Serialize the data
var post = $( "#languageinput" ).serialize();
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 4198892649e..67e647ce926 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -22,7 +22,7 @@
<form>
<fieldset class="personalblock">
<label for="languageinput"><strong><?php echo $l->t('Language');?></strong></label>
- <select id="languageinput" name="lang">
+ <select id="languageinput" class="chzen-select" name="lang" data-placeholder="<?php echo $l->t('Language');?>">
<?php foreach($_['languages'] as $language):?>
<option value="<?php echo $language['code'];?>"><?php echo $language['name'];?></option>
<?php endforeach;?>