[FIX] web: wait for reload_view() to be complete before marking the view as loaded

Avoids a search_read() call with an empty field
list, causing an unnecessary compute of all
function fields. This can be particularly
expensive and slow on some menus, making
refresh/F5 a prohibitive operation.