From 599fae437a3b2bfd9fb6790282a4fc1eaf2c2853 Mon Sep 17 00:00:00 2001
From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>
Date: Tue, 14 Mar 2006 21:19:41 +0000
Subject: [PATCH] #54002,  Cached JS files break new drupal js error reporting
 behavior, patch by dopry

---
 update.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/update.php b/update.php
index 9f0291806e85..917f016f1dd6 100644
--- a/update.php
+++ b/update.php
@@ -352,7 +352,9 @@ function update_selection_page() {
   );
 
   drupal_set_title('Drupal database update');
-  drupal_add_js('misc/update.js');
+  // Prevent browser from using cached drupal.js or update.js
+  drupal_add_js('misc/update.js?'.time());
+  drupal_add_js('misc/drupal.js?'.time());
   $output .= drupal_get_form('update_script_selection_form', $form);
 
   return $output;
@@ -692,4 +694,4 @@ function update_convert_table_utf8($table) {
 
 if (isset($output)) {
   print theme('maintenance_page', $output);
-}
\ No newline at end of file
+}
-- 
GitLab