Removed while(in_asend) which caused some browsers to block

This commit is contained in:
2018-04-16 08:20:25 +02:00
parent 877544ea98
commit 53edd23d85
-2
View File
@@ -10228,7 +10228,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf(" if (autoSaveTimer != null)\n");
rsprintf(" clearTimeout(autoSaveTimer);\n");
rsprintf(" while (in_asend);\n"); // wait for any running asynchronous operation
rsprintf(" submitted = true;\n");
rsprintf(" return true;\n");
rsprintf("}\n\n");
@@ -10238,7 +10237,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf("{\n");
rsprintf(" if (autoSaveTimer != null)\n");
rsprintf(" clearTimeout(autoSaveTimer);\n");
rsprintf(" while (in_asend);\n"); // wait for any running asynchronous operation
rsprintf(" submitted = true;\n"); // don't ask to leave that page
rsprintf(" return true;\n");
rsprintf("}\n\n");