summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-14 21:19:41 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-14 21:19:41 +0000
commit599fae437a3b2bfd9fb6790282a4fc1eaf2c2853 (patch)
tree15259893e539f07f290361b9a7365992b7f4e83f /update.php
parent729c464d001288ca646c1edcf2b013a50ad88202 (diff)
downloadbrdo-599fae437a3b2bfd9fb6790282a4fc1eaf2c2853.tar.gz
brdo-599fae437a3b2bfd9fb6790282a4fc1eaf2c2853.tar.bz2
#54002, Cached JS files break new drupal js error reporting behavior, patch by dopry
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
1 files changed, 4 insertions, 2 deletions
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
+}