]> source.dussan.org Git - nextcloud-server.git/commitdiff
Puts the language divider in place. thanks @Kondou-ger ;)
authorraghunayyar <me@iraghu.com>
Fri, 11 Oct 2013 13:16:59 +0000 (18:46 +0530)
committerraghunayyar <me@iraghu.com>
Fri, 11 Oct 2013 13:16:59 +0000 (18:46 +0530)
settings/js/personal.js
settings/templates/personal.php

index e3a53181199f09ea59da2700d6a8e456d60aeb20..cdf7d0e9631010c59361611c0fa9d6d2c5ba3317 100644 (file)
@@ -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();
index 854cc93b4f4bafa22e3b62ea005fa0fe49440478..d76cb16763b8958b3472468062e25c274581a2c5 100644 (file)
@@ -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']);?>