mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-14 18:29:49 +02:00
* Avoid extra load at EOF if no pages are used
This commit is contained in:
parent
e3e8ff02b2
commit
ffc2238def
@ -281,9 +281,14 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
R.FXHR.open('GET',URL,true);
|
||||
R.FXHR.send;
|
||||
Result:=True;
|
||||
if (loAtEOF in R.LoadOptions) and (Connection.PageParam='') then
|
||||
R.Success:=rrEOF
|
||||
else
|
||||
begin
|
||||
R.FXHR.open('GET',URL,true);
|
||||
R.FXHR.send;
|
||||
Result:=True;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user