Possible issue with IF?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Might be me, but in latest build, I can find text ok with Dom action.

But when I perform IF :

Код:
'{-Variable.notFound-}'!=''
...it always goes via false, not true. Even when text isn't present, it still goes to false!

Anyway, pic:

 
Последнее редактирование:

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Now you mention trim, I remember doing this before. Just using switch function for now, but will try later on. Thanks!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Use text processing - Prepare Javascript if you have special characters in your text.
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Now there is a major bug with Switch in debug.

When in debug, changing from advanced to normal editor, all my saved text in switch disappears! The first time I put it down to nothing, but now it keeps happening.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Click somewhere within action (to other row after you input your data) and only after this close action or switch to advanced editor.
I think this will help
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
I have to agree that there is bug in switch - actually it happens not all the time but still happens.

Although I'm not using switch at all can not tell anything about newest versions, but as i see this bug is still there...
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Task was set
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Fixed for next build
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)