summaryrefslogtreecommitdiff
path: root/modules/local_import/views/local_import_tree.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-24 16:47:45 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-24 16:47:45 +0000
commit5b35490be1e58d32f2dcc5c3f948ce821051c596 (patch)
treefebab19993d2afaad6b45f07d86c9d8fb8d4208d /modules/local_import/views/local_import_tree.html.php
parent2c5e06221b5df7a2334473b4016df43a407f12b1 (diff)
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.
Diffstat (limited to 'modules/local_import/views/local_import_tree.html.php')
-rw-r--r--modules/local_import/views/local_import_tree.html.php4
1 files changed, 2 insertions, 2 deletions
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 @@ $("#<?= $uid ?>").ready(function() {
<? foreach ($data as $file => $file_info): ?>
<li class="<?= empty($file_info["is_dir"]) ? "gFile" : "gDirectory gCollapsed ui-icon-left" ?>">
<? if (!empty($file_info["is_dir"])): ?>
- <span class="ui-icon ui-icon-plus" ref="<?= $file_info["path"] ?>"></span>
+ <span class="ui-icon ui-icon-plus" ref="<?= $file ?>"></span>
<? endif ?>
- <?= "<label>" . form::checkbox("checkbox", $file_info["path"]) . " $file</label>" ?>
+ <?= "<label>" . form::checkbox("checkbox", $file) . " $file</label>" ?>
</li>
<? endforeach ?>
</ul>