colosa/processmaker — pull request #2321 by norahmollo (2014-04-09 14:04:03+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 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 charge script.