Puts the language divider in place. thanks @Kondou-ger ;)

This commit is contained in:
raghunayyar 2013-10-11 18:46:59 +05:30
parent 4b2bb11716
commit 7c2f1fd580
2 changed files with 1 additions and 4 deletions

View 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();

View 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']);?>