More in this section
Forums / Developing with Sitefinity / Java Script widget causing issues in administration mode

Java Script widget causing issues in administration mode

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Johan
    Johan avatar
    1 posts
    13 Aug 2010
    12 Oct 2011
    Link to this post

    I added a Java Script widget to a page that is showing a subscribe form from a third party service provider.

    The script I added to the widget is now causing issues when I try and edit the page in administration. In fact, I am unable to edit the widget, save the page or revert back to a previous version.

    I am at the point where I'm trying to look into the DB itself to perhaps remove the script data from the widget but I'm not sure which table to look for.

    I'm pretty new to Sitefinity development so I'm not to familiar with the DB structure etc.

    Can anybody perhaps tell me which tables are used to store these content / widget data?

  2. Saad
    Saad avatar
    98 posts
    10 Oct 2008
    12 Oct 2011
    Link to this post
    Hi Ryno,
    It is because Sitefinity does include JQuery into the administration view (backend), and so is your widget in this situation.

    So, you can avoid this by using noConflict() method of Jquery:

    jQ = jQuery.noConflict();
    // use your callings using jQ now instead of JQuery or $.
    var obj = jQ('#someID");

    Hope this helps!
2 posts, 0 answered