Skip to content

Commit

Permalink
Fix #3095.
Browse files Browse the repository at this point in the history
  • Loading branch information
kondou committed Apr 24, 2013
1 parent 05ab9d2 commit e8bb998
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 5 additions & 1 deletion core/css/multiselect.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
white-space:nowrap;
}

ul.multiselectoptions>li>label {
margin-left: 5px;
}

div.multiselect {
display:inline-block;
max-width:400px;
Expand Down Expand Up @@ -75,4 +79,4 @@
padding-bottom:.2em;
padding-top:.2em;
margin:0;
}
}
2 changes: 1 addition & 1 deletion core/js/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@

return span;
};
})( jQuery );
})( jQuery );
12 changes: 3 additions & 9 deletions settings/templates/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ class="groupsselect"
id="newusergroups" data-placeholder="groups"
title="<?php p($l->t('Groups'))?>" multiple="multiple">
<?php foreach($_["groups"] as $group): ?>
<option value="<?php p($group['name']);?>">
<?php p($group['name']);?>
</option>
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
<?php endforeach;?>
</select> <input type="submit" value="<?php p($l->t('Create'))?>" />
</form>
Expand Down Expand Up @@ -105,9 +103,7 @@ class="groupsselect"
data-placeholder="groups" title="<?php p($l->t('Groups'))?>"
multiple="multiple">
<?php foreach($_["groups"] as $group): ?>
<option value="<?php p($group['name']);?>">
<?php p($group['name']);?>
</option>
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
<?php endforeach;?>
</select>
</td>
Expand All @@ -119,9 +115,7 @@ class="subadminsselect"
data-placeholder="subadmins" title="<?php p($l->t('Group Admin'))?>"
multiple="multiple">
<?php foreach($_["subadmingroups"] as $group): ?>
<option value="<?php p($group);?>">
<?php p($group);?>
</option>
<option value="<?php p($group);?>"><?php p($group);?></option>
<?php endforeach;?>
</select>
</td>
Expand Down

0 comments on commit e8bb998

Please sign in to comment.