Pranav Kant c084533efb 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.
2016-06-29 22:03:01 +05:30
..
2016-06-29 22:03:01 +05:30
2015-12-16 18:04:32 +03:00
2015-09-30 20:48:29 +03:00