Description
The scoping of variables used by the Palette scripts prevents their resolution when the scope changes because of ajax interactions. A fix would be to specify a clear scope on a couple of the key variables via the use of document.<variable name> = instead of <variable name> = .