Java Script widget causing issues in administration mode

Posted by Community Admin on 04-Aug-2018 08:37

Java Script widget causing issues in administration mode

All Replies

Posted by Community Admin on 12-Oct-2011 00:00

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

Posted by Community Admin on 12-Oct-2011 00:00

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!

This thread is closed