Button dialog forces developer to Advanced view
Status: Beta
Brought to you by:
jrode
If a button contains a SendEmail action, and the email
contains new lines, a subsequent editing of the button
action is only possible in the advanced view.
Reason:
The saveCodeFileContents function removes excessive
newlines thereby changing the code in the behavior
file. Next time the XML version of the action rules is
compared to the code version the comparison leads to a
difference (which was caused by the system and not the
developer).
Solution:
Perhaps not reformat the behavior code on every save,
but make the code insertion/replacement/deletion
functions more accurate to also remove excessive space.