Puts the language divider in place. thanks @Kondou-ger ;)
This commit is contained in:
parent
4b2bb11716
commit
7c2f1fd580
|
@ -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();
|
||||
|
|
|
@ -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']);?>
|
||||
|
|
Loading…
Reference in New Issue