Skip to content

Commit 67f5f37

Browse files
stonebuzzflegastelois
authored andcommitted
make select render like GLPi select
1 parent 7445898 commit 67f5f37

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

inc/config.class.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ function showForm($id, $options=array()) {
148148
echo "<input type='submit' name='update' value='"._sx('button', 'Post')."' class='submit'>";
149149
echo "</td></tr>";
150150
echo "</table>";
151+
152+
echo '<script type="text/javascript">
153+
$(\'select\').select2();
154+
</script>';
155+
151156
Html::closeForm();
152157
}
153158

0 commit comments

Comments
 (0)