From 5b35490be1e58d32f2dcc5c3f948ce821051c596 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 24 Feb 2009 16:47:45 +0000 Subject: Major change to local import, in that checking the high level directory will process all the files underneath w/o having to expand the tree first. --- modules/local_import/views/local_import_tree.html.php | 4 ++-- modules/local_import/views/local_import_tree_dialog.html.php | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'modules/local_import/views') diff --git a/modules/local_import/views/local_import_tree.html.php b/modules/local_import/views/local_import_tree.html.php index e515852a..b028cfa1 100644 --- a/modules/local_import/views/local_import_tree.html.php +++ b/modules/local_import/views/local_import_tree.html.php @@ -14,9 +14,9 @@ $("#").ready(function() { $file_info): ?>
  • "> - "> + - " . form::checkbox("checkbox", $file_info["path"]) . " $file" ?> + " . form::checkbox("checkbox", $file) . " $file" ?>
  • diff --git a/modules/local_import/views/local_import_tree_dialog.html.php b/modules/local_import/views/local_import_tree_dialog.html.php index e553b54b..1cd28ec6 100644 --- a/modules/local_import/views/local_import_tree_dialog.html.php +++ b/modules/local_import/views/local_import_tree_dialog.html.php @@ -5,6 +5,7 @@ $("#gLocalImport").ready(function() { do_import(this, event); }); $("#gProgressBar").progressbar(); + $("#gLocalImport ul").css("display", "block"); });

    @@ -21,8 +22,10 @@ $("#gLocalImport").ready(function() {
    - "gImportButton", "name" => "import", "disabled" => true), + + "gImportButton", "name" => "import", "disabled" => true, "class" => "submit"), t("Import")) ?> -
    +
    +
    -- cgit v1.2.3