[Fixed in r1318] stateselector.js - Uncaught ReferenceError

More
12 years 6 months ago #24790 by hede
On every front end page of my site with FC items I encounter this error in stateselector.js:

stateselector.js line 32:
Uncaught ReferenceError: Class is not defined


What is causing this? Cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #24806 by ggppdk
This should be due to some mootools - JQuery conflict,

if you do "view page" source is Jquery loaded before mootools, and is JQuery.noconflict() executed?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #24816 by hede
AFAIK mootools needs to be loaded first, then jQuery, then jQuery.noConflict(); which is the case in my template. Since all other js driven elements work as expected I doubt it is a js conflict.

I load js as follows:
Code:
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script> <script src="/media/system/js/core.js" type="text/javascript"></script> <script src="/media/system/js/mootools-more.js" type="text/javascript"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript">jQuery.noConflict();</script>

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #25403 by pshoeg
Did you find a solution to this? I'm experiencing the exact same issue.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #25404 by hede
... no solution jet. Although I even run on the latest SVN bulid.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #25406 by pshoeg
That sucks. Think I'll just comment out the inclusion of stateselector.js for now, as I don't use it anyway.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.006 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline