Skip to content

Commit 74effc3

Browse files
committed
Problems with embed
1 parent e68d06a commit 74effc3

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

iwsy/resources/ecs/help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ GetPage:
9595
add 1 to N
9696
put left N of Data into Data
9797
iwsy load Player Embed
98-
! iwsy path Data
98+
iwsy path Data
9999
iwsy run
100100
end
101101
stop

iwsy/resources/ecs/iwsy.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,9 @@ DoOpen:
808808
! Fill the browser with content from the server
809809
if Static go to OpenFromStorage
810810
if UserRecord go to OpenFromUser
811-
if IsHome go to OpenFromStorage
811+
! if IsHome go to OpenFromStorage
812812

813+
OpenFromAdmin:
813814
gosub to CheckAdminPassword
814815
if AdminPassword is empty stop
815816
rest get Files from `list/` cat AdminPassword cat `/scripts?v=` cat now
@@ -904,8 +905,9 @@ SelectFile:
904905

905906
if Static go to SelectFromStorage
906907
if UserRecord go to SelectFromUser
907-
if IsHome go to SelectFromStorage
908-
908+
! if IsHome go to SelectFromStorage
909+
910+
SelectFromAdmin:
909911
rest get Presentation from Protocol cat Domain cat `/resources/scripts/` cat File cat `?v=` cat now
910912
go to UseFile
911913

@@ -1000,6 +1002,7 @@ DoRunStop:
10001002
set Message to object
10011003
set property `action` of Message to `running`
10021004
send Message to StepsModule
1005+
iwsy init CDN
10031006
iwsy run then
10041007
begin
10051008
gosub to ClearStepsButtons

iwsy/resources/ecs/steps.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -736,10 +736,12 @@ EditChain:
736736
get UserHome from storage as `user.home`
737737
set ChainNames to array
738738

739-
if Static go to EditChainFromStorage
739+
if Static is `static` go to EditChainFromStorage
740740
if UserRecord go to EditChainFromUser
741-
if IsHome go to EditChainFromStorage
742-
741+
! if IsHome go to EditChainFromStorage
742+
743+
EditChainFromAdmin:
744+
print `EditChainFromAdmin`
743745
get AdminPassword from storage as `.password`
744746
if AdminPassword is empty put prompt `Please type the admin password` with `` into AdminPassword
745747
rest get Valid from `verify/` cat AdminPassword
@@ -762,6 +764,7 @@ EditChain:
762764
go to ProcessChainNames
763765

764766
EditChainFromUser:
767+
print `EditChainFromUser`
765768
rest get Files from `ulist/` cat Email cat `/` cat Password cat `/`
766769
cat `users/` cat UserHome cat `/scripts`
767770
put the json count of Files into FileCount
@@ -775,6 +778,7 @@ EditChainFromUser:
775778
go to ProcessChainNames
776779

777780
EditChainFromStorage:
781+
print `EditChainFromStorage`
778782
get Files from storage
779783
put the json count of Files into FileCount
780784
put 0 into N

0 commit comments

Comments
 (0)