diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-29 16:39:01 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-29 16:39:01 -0700 |
commit | 201883101595d5954cf45ffac6e2c376e5ecce35 (patch) | |
tree | c6bc32eedae8636d249fe098d0a76f596b89fa18 /modules/gallery/views/form_uploadify.html.php | |
parent | 4c8445852d0657d8c598d38096852b49e4672638 (diff) |
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.
Diffstat (limited to 'modules/gallery/views/form_uploadify.html.php')
-rw-r--r-- | modules/gallery/views/form_uploadify.html.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php index 9bd02f9b..96cc0e26 100644 --- a/modules/gallery/views/form_uploadify.html.php +++ b/modules/gallery/views/form_uploadify.html.php @@ -21,12 +21,18 @@ $("#g-upload-cancel-all") .addClass("ui-state-disabled") .attr("disabled", "disabled"); + $("#g-upload-done") + .removeClass("ui-state-disabled") + .attr("disabled", null); return true; }, onClearQueue: function(event) { $("#g-upload-cancel-all") .addClass("ui-state-disabled") .attr("disabled", "disabled"); + $("#g-upload-done") + .removeClass("ui-state-disabled") + .attr("disabled", null); return true; }, onComplete: function(event, queueID, fileObj, response, data) { @@ -71,6 +77,9 @@ $("#g-upload-cancel-all") .removeClass("ui-state-disabled") .attr("disabled", null); + $("#g-upload-done") + .addClass("ui-state-disabled") + .attr("disabled", "disabled"); } return true; } |