More in this section

Forums / Developing with Sitefinity / Calling javascript on design mode

Calling javascript on design mode

2 posts, 0 answered
  1. Ernest
    Ernest avatar
    37 posts
    12 Mar 2012
    16 Jul 2012
    Link to this post

    We have a javascript that obfuscates email links all around our pages. Our problem is that on design mode after inserting the email link using a Content Block control it doesn't deobfuscate the email immediately. See attached screen shot. 

    We're wondering if there's a way where we can call our javascript method as soon as we've updated the content, after clicking save button of the Content Block control.

    Thank you,
  2. Travis
    Travis avatar
    86 posts
    15 Oct 2008
    17 Jul 2012
    Link to this post

    Would just like to know if theres a global method that we could override to quickly call a javascript function. After a control designer has been saved (regardless of whether or not its a content block), is there a method that we can inject javascript into to call? I know this could probably be done manually by overriding the designer, but, i'd like to avoid that if possible.
2 posts, 0 answered