Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates.
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
echo " <td class='vncell'>".$text['label-message_from']."</td>\n";
|
||||
echo " <td class='vtable'>\n";
|
||||
if (is_array($destinations) && sizeof($destinations) != 0) {
|
||||
echo " <select class='formfld' name='message_from' id='message_new_from' onchange=\" $('#message_new_to').focus();\">\n";
|
||||
echo " <select class='formfld' name='message_from' id='message_new_from' onchange=\"$('#message_new_to').trigger('focus');\">\n";
|
||||
foreach ($destinations as $destination) {
|
||||
echo " <option value='".$destination."'>".format_phone($destination)."</option>\n";
|
||||
}
|
||||
@@ -261,7 +261,7 @@
|
||||
//note: the order of the above two lines matters!
|
||||
if (!http_user_agent('mobile')) {
|
||||
echo " if ($('#message_new_layer').is(':hidden')) {\n";
|
||||
echo " $('#message_text').focus();\n";
|
||||
echo " $('#message_text').trigger('focus');\n";
|
||||
echo " }\n";
|
||||
}
|
||||
echo " refresh_contacts();\n";
|
||||
@@ -286,7 +286,7 @@
|
||||
//note: the order of the above two lines matters!
|
||||
if (!http_user_agent('mobile')) {
|
||||
echo " if ($('#message_new_layer').is(':hidden')) {\n";
|
||||
echo " $('#message_text').focus();\n";
|
||||
echo " $('#message_text').trigger('focus');\n";
|
||||
echo " }\n";
|
||||
}
|
||||
echo " if (onsent != 'true') {\n";
|
||||
|
||||
Reference in New Issue
Block a user