Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates.

This commit is contained in:
Nate
2019-08-20 18:15:50 -06:00
parent 25c42fb82c
commit 7ea7101f35
1798 changed files with 171269 additions and 32460 deletions
+3 -3
View File
@@ -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";
+2 -2
View File
@@ -294,7 +294,7 @@
echo "</table>\n";
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%' style='margin-top: 15px;'>\n";
echo " <tr>\n";
echo " <td align='left' width='50%'><input type='reset' class='btn' value='".$text['button-clear']."' onclick=\"$('#message_text').focus();\"></td>\n";
echo " <td align='left' width='50%'><input type='reset' class='btn' value='".$text['button-clear']."' onclick=\"$('#message_text').trigger('focus');\"></td>\n";
echo " <td align='center'><span id='thread_refresh_state'><img src='resources/images/refresh_active.gif' style='width: 16px; height: 16px; border: none; cursor: pointer;' onclick=\"refresh_thread_stop('".$number."','".$contact_uuid."');\" alt=\"".$text['label-refresh_pause']."\" title=\"".$text['label-refresh_pause']."\"></span></td>\n";
echo " <td align='right' width='50%'><input type='submit' class='btn' value='".$text['button-send']."' title=\"".$text['label-ctrl_enter']."\"></td>\n";
echo " </td>\n";
@@ -317,7 +317,7 @@
echo " document.getElementById('message_compose').reset();\n";
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_thread('".$number."', '".$contact_uuid."', 'true');\n";