HTML object hlcache callback: Ensure final fetch completion triggers reformat.

Even if the final fetch finished with ERRORCODE.
This commit is contained in:
Michael Drake 2017-08-28 12:06:09 +01:00
parent 2ad990f3d5
commit c0205478c0

View File

@ -440,7 +440,8 @@ html_object_callback(hlcache_handle *object,
c->base.active == 0 &&
(event->type == CONTENT_MSG_LOADING ||
event->type == CONTENT_MSG_DONE ||
event->type == CONTENT_MSG_ERROR)) {
event->type == CONTENT_MSG_ERROR ||
event->type == CONTENT_MSG_ERRORCODE)) {
/* all objects have arrived */
content__reformat(&c->base, false, c->base.available_width,
c->base.height);