help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

javascript error

javascript error

8 years 1 month ago
#22843
When clickking on + sign nothing loads and i see in firebug some java errors that i think are related to this.
"JQMIGRATE: Migrate is installed, version 1.4.1
jquery-....min.js (regel 2)
TypeError: jQuery(...).popover is not a function
jQuery('.hasjevtip').popover({"animation":null,"html":true,"placement":"top","se...
- (regel 74, kol 6)
3
TypeError: jQuery(...).modal is not a function
jQuery(selector).modal({ backdrop: true, show:true, keyboard:true, remote:'' }) ...
editpop...?3.4.23 (regel 94, kol 2) "

any idea why this is happening?

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

Re: javascript error

8 years 1 month ago - 8 years 1 month ago
#22847
Hello "PeoplesProjects",

From your posting it is hard to detect where this error happens. Really in JEM?
Maybe one of the developers might see it (I doubt), but for the rest of us, users (like me) that try to help other users here, it is nearly impossible.
Please give us more information:
  • Which version of JEM is installed?
  • Which version of Joomla!?
  • Which version of PHP?
  • Which template?
  • (Maybe: other extensions, like plugins, that could be involved?)
And of cause: Where do you click on a "+ sign" exactly? Frontend? Backend? ...
Last edit: 8 years 1 month ago by Wolfgang. Reason: grammar, typo

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

Re: javascript error

8 years 1 month ago
#22849
I agree Wolfgang, it's hard to understand where you are (on which view, clicking on which + etc.)

But regarding "popover":
As far as I realised with Joomla 3.6 a lot of tooltips has changed to popover (e.g. on table headers) which gives at least bad/no styling of them because a lot of site templates doesn't know popovers.
JEM itself does not actively use popovers but we call Joomla functions which stealthily do. :(

You should try the page with protostar to see if the problem comes from your site template.

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

Re: javascript error

8 years 1 month ago
#22851
Hi, Thank you for reply
it looks it is comming from the template, but what can i do about it ?

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

Re: javascript error

5 years 4 months ago
#26300
The $(…). modal is not a function is usually caused because scripts are loaded in the wrong order . The browser will execute the scripts in the order it finds them. If in a script you attempt to access an element that hasn't been reached yet then you will get an error. Make sure that you don't have a script above one that it requires.

Plugin dependencies

Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included before the plugin files).

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

Time to create page: 0.832 seconds