2
0
Эх сурвалжийг харах

* Fix compilation after TJSJSON returns now a JSValue, no longer object

michael 7 жил өмнө
parent
commit
961fe77586

+ 1 - 1
demo/fpreport/frmmain.pp

@@ -609,7 +609,7 @@ begin
   console.log('Result of call ',xhr.Status);
   if (xhr.status = 200) then
     begin
-    J:=TJSJSON.parse(xhr.responseText);
+    J:=TJSJSON.parseObject(xhr.responseText);
     A:=TJSObjectDynArray(J.Properties['data']);
     for I:=0 to Length(A)-1 do
       begin