Skip to content

Commit 44076c5

Browse files
committed
Fix bug in JSON script
1 parent 21eb7fa commit 44076c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

iwsy/resources/ecs/json.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Start:
5353
end
5454
if SectionSelector is `All`
5555
begin
56+
put empty into Section
5657
put Presentation into Content
5758
go to SS2
5859
end
@@ -89,9 +90,8 @@ Start:
8990
set the text of SaveButton to `Save`
9091
on click SaveButton
9192
begin
92-
print `Save`
9393
if Section set property Section of Presentation to Script
94-
print Script
94+
else put Script into Presentation
9595
put Script into LastSaved
9696
json format Presentation
9797
end
@@ -106,4 +106,4 @@ SS2:
106106
json format Content
107107
put Content into LastSaved
108108
set the content of Script to Content
109-
stop
109+
stop

0 commit comments

Comments
 (0)