Vergleich private_send_autocomplete - 1.8.4 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1Zeile 1
<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>

<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")

<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")

Zeile 7Zeile 7
	MyBB.select2();
$("#to").select2({
placeholder: "{$lang->search_user}",

	MyBB.select2();
$("#to").select2({
placeholder: "{$lang->search_user}",

		minimumInputLength: 3,
maximumSelectionSize: 3,

		minimumInputLength: 2,
maximumSelectionSize: {$mybb->usergroup['maxpmrecipients']},

		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 24Zeile 24
			}
},
initSelection: function(element, callback) {

			}
},
initSelection: function(element, callback) {

			var query = $(element).val();

			var query = $(element).val().replace(', ', ',');

			if (query !== "") {
var newqueries = [];
exp_queries = query.split(",");

			if (query !== "") {
var newqueries = [];
exp_queries = query.split(",");

Zeile 45Zeile 45

$("#bcc").select2({
placeholder: "{$lang->search_user}",


$("#bcc").select2({
placeholder: "{$lang->search_user}",

		minimumInputLength: 3,
maximumSelectionSize: 3,

		minimumInputLength: 2,
maximumSelectionSize: {$mybb->usergroup['maxpmrecipients']},

		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",