Javascript will fail/ throw error if last line is commented

CRM Javascript will stop running or throw error if the last line of code(Exact last line) is commneted.

This is becuase CRM Entity Edit form saves the script by adding closing backet to end of the script without adding carrige return before to it. So that the added closing bracket will come as commented.

0 comments:

Post a Comment