diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/catalog.class.php | 3 |
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 & stuff in the Javascript */ $ajax_url = str_replace("&","&",$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 |