Fix upload status on single uploads disappeared when upload was complete

This commit is contained in:
nathangray 2017-04-13 08:52:01 -06:00
parent 178f72c06f
commit 68e4df3d22

View File

@ -602,6 +602,11 @@ var et2_file = (function(){ "use strict"; return et2_inputWidget.extend(
else
{
this.options.value[key] = response.response[0].data[key];
// If not multiple, we already destroyed the status, so re-create it
if(!this.options.multiple)
{
this.createStatus({}, file);
}
if(this.progress)
{
jQuery("[data-file='"+name+"']",this.progress).addClass("message success");