summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2013-10-11 18:46:59 +0530
committerraghunayyar <me@iraghu.com>2013-10-11 18:46:59 +0530
commit7c2f1fd5803e2bc1404ca562cd135e24f13c92f6 (patch)
tree34ff57bfea3810eb29b5dbda632bb5e37b47585d
parent4b2bb117168baf24ad14b8e27fa78200db223c5a (diff)
downloadnextcloud-server-7c2f1fd5803e2bc1404ca562cd135e24f13c92f6.tar.gz
nextcloud-server-7c2f1fd5803e2bc1404ca562cd135e24f13c92f6.zip
Puts the language divider in place. thanks @Kondou-ger ;)
-rw-r--r--settings/js/personal.js4
-rw-r--r--settings/templates/personal.php1
2 files changed, 1 insertions, 4 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index e3a53181199..cdf7d0e9631 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -171,10 +171,6 @@ $(document).ready(function(){
}
});
- // Show only the not selectable optgroup
- // Choosen only shows optgroup-labels if there are options in the optgroup
- $(".languagedivider").hide();
-
$("#languageinput").change( function(){
// Serialize the data
var post = $( "#languageinput" ).serialize();
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 854cc93b4f4..d76cb16763b 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -113,6 +113,7 @@ if($_['passwordChangeSupported']) {
<?php p($language['name']);?>
</option>
<?php endforeach;?>
+ <option class="languagedivider">-</option>
<?php foreach($_['languages'] as $language):?>
<option value="<?php p($language['code']);?>">
<?php p($language['name']);?>