Add status output to make it clearer what's happening when you add files.

This commit is contained in:
Bharat Mediratta
2009-07-09 10:46:27 -07:00
parent b0429797fc
commit fad6c4783e
3 changed files with 20 additions and 6 deletions

View File

@@ -25,7 +25,10 @@
<?= $tree ?>
</ul>
<div class="gProgressBar" style="display: none"></div>
<div id="gProgress" style="display: none">
<div class="gProgressBar"></div>
<div id="gStatus"></div>
</div>
<span>
<input id="gServerAddAddButton" class="submit ui-state-disabled" disabled="disabled"
@@ -38,8 +41,8 @@
event.preventDefault();
$("#gServerAdd .gProgressBar").
progressbar().
progressbar("value", 0).
slideDown("fast", function() { start_add() });
progressbar("value", 0);
$("#gProgress").slideDown("fast", function() { start_add() });
});
});
</script>