Apply chosen style to group and linked monitors dropdown

This commit is contained in:
Isaac Connor 2018-02-26 17:57:50 -08:00
parent 735e36c2a8
commit 793e87c26d
1 changed files with 4 additions and 1 deletions

View File

@ -708,7 +708,7 @@ switch ( $tab ) {
<tr>
<td><?php echo translate('LinkedMonitors') ?></td>
<td>
<select name="monitorIds" size="4" multiple="multiple" onchange="updateLinkedMonitors( this )">
<select name="monitorIds" class="chosen" multiple="multiple" onchange="updateLinkedMonitors( this )">
<?php
$monitors = dbFetchAll( 'select Id,Name from Monitors order by Sequence asc' );
if ( $monitor->LinkedMonitors() )
@ -1018,4 +1018,7 @@ if ( $monitor->Type() == 'Local' ) {
</div>
</div>
</body>
<script type="text/javascript">
$j('.chosen').chosen();
</script>
</html>