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( "
  • " + fileObj.name + " - " + for_js() ?> + "
  • "); - 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( - "
  • " + fileObj.name + msg + "
  • "); - $("#g-uploadify" + queueID).remove(); + "
  • " + fileObj.name + msg + "
  • "); + $("#g-uploadify").uploadifyCancel(queueID); error_count++; update_status(); },