Commit 2d0860dd authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

лишний asc_onEndAction при drag&drop картинок

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62798 954022d7-b5bf-4e40-9824-e11837661b57
parent e4d5f81d
......@@ -206,10 +206,11 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
frameWindow.document.open();
frameWindow.document.write(content);
frameWindow.document.close();
} else
} else{
t.handlers.trigger("asc_onError", c_oAscError.ID.Unknown, c_oAscError.Level.NoCritical);
t.handlers.trigger("asc_onEndAction", c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.LoadImage);
}
}
};
xhr.send(fd);
}
......
......@@ -203,10 +203,11 @@ function asc_docs_api(name)
frameWindow.document.write(content);
frameWindow.document.close();
}
else
else{
oThis.asc_fireCallback("asc_onError",c_oAscError.ID.Unknown,c_oAscError.Level.NoCritical);
oThis.sync_EndAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.UploadImage);
}
}
};
xhr.send(fd);
}
......
......@@ -553,10 +553,11 @@ function asc_docs_api(name)
frameWindow.document.write(content);
frameWindow.document.close();
}
else
else{
oThis.asc_fireCallback("asc_onError",c_oAscError.ID.Unknown,c_oAscError.Level.NoCritical);
oThis.sync_EndAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.UploadImage);
}
}
};
xhr.send(fd);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment