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

Descriptor considering script as Mega Object ? Bug?

Solved
Highlighted
Contributor

Descriptor considering script as Mega Object ? Bug?

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
Highlighted
MEGA

Re: Descriptor considering script as Mega Object ? Bug?

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"\],
Highlighted
Contributor

Re: Descriptor considering script as Mega Object ? Bug?

Thank you Lionel. That worked.