Ignore XSS Filter not working in fields

Hi,

I had embedded Google Maps triggers via button in my form field using custom script, however, it works on my previous version of ERPNext 6.4.4 but however after I had updated to 6.27.5 it is no longer working.

The main reason I realize that is the field disabling the XSS Scripting (Even I had ticked the ignore CSS Scripting option of the field) however it is still disabling the script causing the google map not able to load.

Please refer to the attachment for more details.

@Seng the best way to do this is to inject into the HTML <div> using javascript

1 Like