diff options
| author | mamouneyya <mamoun.diraneyya@gmail.com> | 2010-09-02 22:32:46 +0300 |
|---|---|---|
| committer | mamouneyya <mamoun.diraneyya@gmail.com> | 2010-09-02 22:32:46 +0300 |
| commit | 9572c664d2bfff0877d4f2062eb0ef6665a109cf (patch) | |
| tree | 89c8e2868c1490a0bc578ce4a69c0ed7fae8b5bf /modules/gallery/views/form_uploadify.html.php | |
| parent | a0033ce75968b3c134c0e439046f135b1e646550 (diff) | |
| parent | 511826a33cbbf03bf1e3cb151f1a181b8e6723e8 (diff) | |
Merge remote branch 'gallery3/master'
Diffstat (limited to 'modules/gallery/views/form_uploadify.html.php')
| -rw-r--r-- | modules/gallery/views/form_uploadify.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php index 36f5f284..893bb3b9 100644 --- a/modules/gallery/views/form_uploadify.html.php +++ b/modules/gallery/views/form_uploadify.html.php @@ -60,7 +60,7 @@ $("#g-add-photos-status ul").append( "<li id=\"q" + queueID + "\" class=\"g-success\">" + fileObj.name + " - " + <?= t("Completed")->for_js() ?> + "</li>"); - setTimeout(function() { $("#q" + queueID).slideUp("slow") }, 5000); + setTimeout(function() { $("#q" + queueID).slideUp("slow").remove() }, 5000); success_count++; update_status(); return true; @@ -87,8 +87,8 @@ .replace("__TYPE__", errorObj.type)); } $("#g-add-photos-status ul").append( - "<li class=\"g-error\">" + fileObj.name + msg + "</li>"); - $("#g-uploadify" + queueID).remove(); + "<li id=\"q" + queueID + "\" class=\"g-error\">" + fileObj.name + msg + "</li>"); + $("#g-uploadify").uploadifyCancel(queueID); error_count++; update_status(); }, |
