Skip to content

Commit de0873c

Browse files
committed
fixes for Chosen:
don't create bigger area, when clicking on Choose Assignees, make it 27px, let the dropdown act like dropdown When bulk update, add dummy/empty option, so first assignee will not be selected automatically when clicking on dropdown
1 parent a400af4 commit de0873c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

htdocs/css/page.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,10 @@ body#adv_search #date_fields, body#adv_search #custom_fields_row {
355355
width: 97%;
356356
border: 2px dashed #027c99;
357357
}
358+
/* Chosen.js overrides */
359+
.chosen-container {
360+
height: 27px;
361+
}
362+
.chosen-container .chosen-drop {
363+
top: 0;
364+
}

templates/bulk_update.tpl.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<tr>
2424
<td>
2525
<select name="users[]" size="5" multiple data-placeholder="{t}Choose Assignees...{/t}" class="chosen-select">
26+
<option></option>
2627
{html_options options=$users}
2728
</select>
2829
{include file="error_icon.tpl.html" field="users[]"}

0 commit comments

Comments
 (0)