colosa/processmaker — pull request #2318 by norahmollo (2014-04-08 15:59:19+00:00)
Title: BUG-14476 Condition Editor is not working inside Dynaform Design Preview

Issue:
When defining a Show/Hide condition using the condition editor, it is not working on the preview mode, but it is working when a case is executed.

Cause:
The session variable $_SESSION['CURRENT_DYN_UID'] is unset before apply the conditional show and hide routines.

Solution:
It has been created a session variable $_SESSION['CONDITION_DYN_UID'] its value is the same as $_SESSION['CURRENT_DYN_UID'] for apply the script code.