From fc8b22c615c119402e49d8f41cec20ea9809a0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 20 Dec 2007 11:57:20 +0000 Subject: #196630 by yched: postpone warning message display until batch finished, so messages are not forgotten on non-JS batches --- update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 6ade05465..4c9a18290 100644 --- a/update.php +++ b/update.php @@ -723,5 +723,7 @@ else { $output = update_access_denied_page(); } if (isset($output) && $output) { - print theme('update_page', $output); + // We defer the display of messages until all updates are done. + $progress_page = ($batch = batch_get()) && isset($batch['running']); + print theme('update_page', $output, !$progress_page); } -- cgit v1.2.3