I am updating a template via the back office. I can save most changes to my template, but if I try and add a script tag, the changes never save, and eventually the server spikes and takes several minutes to recover. This simple script should not cause a problem!
That's a weird issue indeed - Don't know if it's somehow conflicting with jQuery inside Umbraco somehow when saving it like that.
I'm wondering if it's possible for you to simply save the code using another editor outside of Umbraco's built in editor? Then perhaps that is the best way to go in this case. And perhaps even adding the code snippet in a javascript file rather than the template perhaps?
Otherwise it might be worth trying out this longshot to see if it makes any kind of difference at all - It would be weird though since it's primarily used to avoid older browsers from trying to read the javascript code...but perhaps it can be used to circumvent the issue you're dealing with here...
Unable to save script tag in master template
I am updating a template via the back office. I can save most changes to my template, but if I try and add a script tag, the changes never save, and eventually the server spikes and takes several minutes to recover. This simple script should not cause a problem!
Hi Connie
That's a weird issue indeed - Don't know if it's somehow conflicting with jQuery inside Umbraco somehow when saving it like that.
I'm wondering if it's possible for you to simply save the code using another editor outside of Umbraco's built in editor? Then perhaps that is the best way to go in this case. And perhaps even adding the code snippet in a javascript file rather than the template perhaps?
Otherwise it might be worth trying out this longshot to see if it makes any kind of difference at all - It would be weird though since it's primarily used to avoid older browsers from trying to read the javascript code...but perhaps it can be used to circumvent the issue you're dealing with here...
Hope this helps.
/Jan
Hi! I'm currently experiencing this issue too. I'm not able to save simple script tag in master page. may I know what is causing this issue? Thanks
is working on a reply...