diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-24 19:03:54 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-24 19:03:54 +0200 |
commit | 121d5fa681f0f23e3a622f8fb55611e5ad8a83b8 (patch) | |
tree | 5bac3fa8b73e8b58e3b31132fa6e52e12acb95d9 /inc/html.php | |
parent | 27fbc76105241574d75bf28e31676c4801a55ea9 (diff) | |
download | rpg-121d5fa681f0f23e3a622f8fb55611e5ad8a83b8.tar.gz rpg-121d5fa681f0f23e3a622f8fb55611e5ad8a83b8.tar.bz2 |
progressbar script change
The progressbar script used in the search accessed parts of the DOM before
it was completely parsed which caused problems in IE. This patch moves back
to document.write for outputting the image.
darcs-hash:20060924170354-7ad00-1e0247b00fc4da4dd30301f4b9389ef727496c4a.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index 46e6bd8c6..dd2aa2ca0 100644 --- a/inc/html.php +++ b/inc/html.php @@ -363,10 +363,10 @@ function html_search(){ //show progressbar print '<div class="centeralign" id="dw__loading">'; - print '<br /></div>'; print '<script type="text/javascript" charset="utf-8">'; - print 'showLoadBar("dw__loading");'; + print 'showLoadBar();'; print '</script>'; + print "<br /></div>\n"; flush(); //do quick pagesearch |