cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Descriptor considering script as Mega Object ? Bug?

RGenin
Trusted Contributor

Hi, 

 

We have the following error when adding a script to a descriptor for generating the intranet website.

The html code works perfectly outside of Mega. However, when added to the descriptor, it generates some compilation errors.

 

Snag_3a00760.png

 

How could be solve this problem ?

 

 

Thanks

2 Replies

RGenin
Trusted Contributor

Thank you Lionel. That worked.

lionel
MEGA
MEGA

Hi,

 

"[" ande "]" are used as mega tags. If you want to use them as part of a javascript, just add a "\" in front of it. For example : 

rows : \["Count of Data issues"\],