Wait till page is rendered
There's a race condition here between page being rendered with all the document(s) information and showing the editor to the user. The later requires the former as it uses data rendered into the page. In most cases, former is quick enough and we do not see any problems, but in some cases, mostly when the server is responding very slowly, it will lag behind the later causing the editor to be shown before data is rendered into the page leading to '404 Object not found'. This should, hopefully, avoid such cases.pull/1/head
parent
c80a31ebe0
commit
c084533efb
Loading…
Reference in New Issue