Add a pause button to the server add dialog and if it is clicked then

the upload is paused.  If the dialog is closed and the task is not
complete then a warning message is displayed on the album.
This commit is contained in:
Tim Almdal
2009-03-24 17:41:20 +00:00
parent 520a4b41b3
commit 00ffb24eb0
3 changed files with 71 additions and 26 deletions
@@ -16,6 +16,7 @@
<?= $tree ?>
</div>
<span>
<?= form::submit(array("id" => "gServerPauseButton", "name" => "add", "disabled" => true, "class" => "submit", "style" => "display:none"), t("Pause")) ?>
<?= form::submit(array("id" => "gServerAddButton", "name" => "add", "disabled" => true, "class" => "submit"), t("Add")) ?>
</span>
<?= form::close() ?>