Merge pull request #5296 from owncloud/remove-chosen-hack
Removes the Bogus Label
This commit is contained in:
commit
6c85fc41aa
2 changed files with 1 additions and 7 deletions
|
@ -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,9 +113,7 @@ if($_['passwordChangeSupported']) {
|
|||
<?php p($language['name']);?>
|
||||
</option>
|
||||
<?php endforeach;?>
|
||||
<optgroup label="––––––––––">
|
||||
<option class="languagedivider">-</option>
|
||||
</optgroup>
|
||||
<optgroup label="––––––––––"></optgroup>
|
||||
<?php foreach($_['languages'] as $language):?>
|
||||
<option value="<?php p($language['code']);?>">
|
||||
<?php p($language['name']);?>
|
||||
|
|
Loading…
Reference in a new issue