Zeile 11 | Zeile 11 |
---|
lang.buddylist_error = '{$lang->buddylist_error}'; </script>
|
lang.buddylist_error = '{$lang->buddylist_error}'; </script>
|
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css"> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1804"></script>
| <link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807"> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
|
</head> <body>
| </head> <body>
|
Zeile 44 | Zeile 44 |
---|
MyBB.select2(); $("#buddy_add_username").select2({ placeholder: "{$lang->search_user}",
|
MyBB.select2(); $("#buddy_add_username").select2({ placeholder: "{$lang->search_user}",
|
minimumInputLength: 3, maximumSelectionSize: 3,
| minimumInputLength: 2, maximumSelectionSize: 5,
|
multiple: true, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
| multiple: true, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
|
Zeile 116 | Zeile 116 |
---|
MyBB.select2(); $("#ignored_add_username").select2({ placeholder: "{$lang->search_user}",
|
MyBB.select2(); $("#ignored_add_username").select2({ placeholder: "{$lang->search_user}",
|
minimumInputLength: 3, maximumSelectionSize: 3,
| minimumInputLength: 2, maximumSelectionSize: 5,
|
multiple: true, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
| multiple: true, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
|