From 599fae437a3b2bfd9fb6790282a4fc1eaf2c2853 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Tue, 14 Mar 2006 21:19:41 +0000 Subject: #54002, Cached JS files break new drupal js error reporting behavior, patch by dopry --- update.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 9f0291806..917f016f1 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 @@ else { if (isset($output)) { print theme('maintenance_page', $output); -} \ No newline at end of file +} -- cgit v1.2.3