Variable in if statement

Discussion created by on Nov 25, 2016
Latest reply on Nov 25, 2016 by


Can someone see what im doing wrong here.

I'm setting the active tab in a variable. I want to write script which would show customer dialogue if the current tab = 1.


The global variable returns integers.


but i get this error on script debugger


anyone know how to fix it.