segdeha / phpfr

Automatically exported from code.google.com/p/phpfr
0 stars 0 forks source link

Pages sometime truncated #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a page, any page. Could be a function page or a help page.

What is the expected output? What do you see instead?

The full page should be available in the view frame, but sometimes it is
truncated.

Original issue reported on code.google.com by segdeha on 2 Apr 2008 at 7:30

GoogleCodeExporter commented 9 years ago
I've changed how pages are fetched so they always now include an EOF string at 
the
end. This way, the JavaScript can check for the presence of this in the return 
string
before outputting it to the UI. If it's not present, the script tries loading 
the
page again every couple of seconds. This should resolve the issue in most 
cases. What
could be needed is a way to prevent this from continuing to check for the page 
if the
user hides Dashboard (and, optionally, to resume the operation when the widget 
is
shown again).

Original comment by segdeha on 3 Apr 2008 at 1:51