Files
gallery3/modules/gallery/views/form_uploadify_buttons.html.php
Bharat Mediratta 2018831015 1) Rename "Cancel All" -> "Cancel uploads" to clarify what we're
talking about and follow our capitalization standards.
2) Grey out the Done button when uploads are in progress.
Fixes ticket #1302.
2010-08-29 16:39:01 -07:00

9 lines
505 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<!-- Proxy the done request back to our form, since its been ajaxified -->
<button id="g-upload-done" class="ui-state-default ui-corner-all" onclick="$('#g-add-photos-form').submit();return false;">
<?= t("Done") ?>
</button>
<button id="g-upload-cancel-all" class="ui-state-default ui-corner-all ui-state-disabled" onclick="$('#g-uploadify').uploadifyClearQueue();return false;" disabled="disabled">
<?= t("Cancel uploads") ?>
</button>