1-888-365-2779
+1-888-365-2779
Try Now
More in this section

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

Java Script widget causing issues in administration mode

2 posts, 0 answered
  1. Johan
    Johan avatar
    1 posts
    Registered:
    13 Aug 2010
    12 Oct 2011
    Link to this post
    Hi,

    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?

    Thanks
  2. Saad
    Saad avatar
    98 posts
    Registered:
    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