Zeile 70 | Zeile 70 |
---|
</tr> <tr> <td class="trow1" width="33%" style="vertical-align: top;">
|
</tr> <tr> <td class="trow1" width="33%" style="vertical-align: top;">
|
{$lang->contains}<br />
| {$lang->exactly}<br />
|
<input type="text" class="textbox" name="username" id="username" style="width: 99%; margin-top: 4px;" value="{$search_username}" /> </td> <td class="trow1" width="33%" style="vertical-align: top;">
| <input type="text" class="textbox" name="username" id="username" style="width: 99%; margin-top: 4px;" value="{$search_username}" /> </td> <td class="trow1" width="33%" style="vertical-align: top;">
|
Zeile 107 | Zeile 107 |
---|
placeholder: "{$lang->search_user}", minimumInputLength: 2, multiple: false,
|
placeholder: "{$lang->search_user}", minimumInputLength: 2, multiple: false,
|
| allowClear: true,
|
ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users", dataType: 'json',
| ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users", dataType: 'json',
|
Zeile 139 | Zeile 140 |
---|
}, });
|
}, });
|
$('[for=username]').click(function(){
| $('[for=username]').on('click', function(){
|
$("#username").select2('open'); return false; });
| $("#username").select2('open'); return false; });
|