Removed while(in_asend) which caused some browsers to block
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user