From 35204a15cff19237a9aadbf83cee6d71a0a989a6 Mon Sep 17 00:00:00 2001 From: wanlop run Date: Mon, 11 Dec 2023 16:15:25 +0700 Subject: [PATCH] Release 7.96 fix --- xml/topview2.xml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/xml/topview2.xml b/xml/topview2.xml index 6bab264e..1131a76f 100644 --- a/xml/topview2.xml +++ b/xml/topview2.xml @@ -35,8 +35,8 @@ Var LanguageButtonEnable = "Invisible" EndIf - IF CountDownForMulti = "" Then - Var CountDownForMulti = 99 + IF Not#CountDownForMulti = "" Then + Var Not#CountDownForMulti = 99 EndIf 1000 @@ -57,16 +57,12 @@ Refresh EndIf - ;DEBUGVAR langfn - - ;DEBUGVAR EnableMultiInstance - ;DEBUGVAR CountDownForMulti - If EnableMultiInstance = "true" Then - If CountDownForMulti = 99 Then - + If Not#CountDownForMulti = 99 Then + DEBUGVAR Not#CountDownForMulti + Else - If CountDownForMulti = 1 Then + If Not#CountDownForMulti = 1 Then OpenRedirect "/taobin_project/xml/page_catalog_group_coffee.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/coffee.ev" OpenRedirect "/taobin_project/xml/page_catalog_group_tea.xml" "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/tea.ev" @@ -104,8 +100,8 @@ TabMenuVisibleInst 99 EndIf - If CountDownForMulti > 0 Then - Var CountDownForMulti = CountDownForMulti - 1 + If Not#CountDownForMulti > 0 Then + Var Not#CountDownForMulti = Not#CountDownForMulti - 1 EndIf EndIf EndIf @@ -125,8 +121,8 @@ EndIf - If CountDownForMulti = 99 Then - Var CountDownForMulti = 5 + If Not#CountDownForMulti = 99 Then + Var Not#CountDownForMulti = 5 EndIf EndIf