mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Removed while(in_asend) which caused some browsers to block
This commit is contained in:
parent
877544ea98
commit
53edd23d85
@ -10228,7 +10228,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
|
|
||||||
rsprintf(" if (autoSaveTimer != null)\n");
|
rsprintf(" if (autoSaveTimer != null)\n");
|
||||||
rsprintf(" clearTimeout(autoSaveTimer);\n");
|
rsprintf(" clearTimeout(autoSaveTimer);\n");
|
||||||
rsprintf(" while (in_asend);\n"); // wait for any running asynchronous operation
|
|
||||||
rsprintf(" submitted = true;\n");
|
rsprintf(" submitted = true;\n");
|
||||||
rsprintf(" return true;\n");
|
rsprintf(" return true;\n");
|
||||||
rsprintf("}\n\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("{\n");
|
||||||
rsprintf(" if (autoSaveTimer != null)\n");
|
rsprintf(" if (autoSaveTimer != null)\n");
|
||||||
rsprintf(" clearTimeout(autoSaveTimer);\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(" submitted = true;\n"); // don't ask to leave that page
|
||||||
rsprintf(" return true;\n");
|
rsprintf(" return true;\n");
|
||||||
rsprintf("}\n\n");
|
rsprintf("}\n\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user