Rewrite the server_add to have the server format the selection when a branch is opened. Sub trees re only retrieved when the branch is opened. Changed the

start task processing to fill in any subtrees that are selected, but were never expanded on the client.  Added the loading icon.

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
This commit is contained in:
Tim Almdal
2009-06-04 23:23:11 +08:00
committed by Bharat Mediratta
parent 13b12f410e
commit e1ce3196f4
5 changed files with 116 additions and 42 deletions

View File

@@ -2,8 +2,11 @@
<script>
var FATAL_ERROR = "<?= t("Fatal Error") ?>";
var FILE_IMPORT_WARNING = "<?= t("Add from server warning") ?>";
$("#gServerAdd").ready(function() {
init_server_add_form();
});
</script>
<?= html::script("modules/server_add/js/server_add.js"); ?>
<!-- ?= html::script("modules/server_add/js/server_add.js"); ? -->
<div id="gServerAdd">
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($album_title))) ?></h1>