summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-17 00:08:02 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-17 00:08:02 +0000
commit035b273ff529a34e1d2cb52bd61c653c6bff8250 (patch)
treea3c70e3a9eb42186030977ca1a7888ae48ea466f /lib
parent7ccede7dbbdda46a7e6c5752c7040d36a153ad53 (diff)
downloadampache-035b273ff529a34e1d2cb52bd61c653c6bff8250.tar.gz
ampache-035b273ff529a34e1d2cb52bd61c653c6bff8250.tar.bz2
ampache-035b273ff529a34e1d2cb52bd61c653c6bff8250.zip
fixed a little stupid bug with the catalog refresh hotness
Diffstat (limited to 'lib')
-rw-r--r--lib/class/catalog.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 1a1d678f..85cd18b8 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -185,7 +185,7 @@ class Catalog {
$start_time = time();
// Setup the 10 sec ajax request hotness
- $refresh_limit = 10;
+ $refresh_limit = 5;
$ajax_url = Config::get('ajax_url') . '?action=catalog&type=add_files';
/* Can't have the &amp; stuff in the Javascript */
$ajax_url = str_replace("&amp;","&",$ajax_url);
@@ -196,6 +196,7 @@ class Catalog {
echo "<div id=\"catalog_update\">";
require_once Config::get('prefix') . '/templates/show_run_add_catalog.inc.php';
echo "</div>";
+ echo "<script type=\"text/javascript\">doLoad();</script>";
show_box_bottom();
// Prevent the script from timing out and flush what we've got