Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: javascript error

javascript error 3 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.

javascript error 3 years 1 month ago #22847

  • Wolfgang
  • Wolfgang's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • voluntary webmaster since 1996
  • Posts: 30
  • Thank you received: 16
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? ...

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

Last edit: by Wolfgang. Reason: grammar, typo

javascript error 3 years 1 month ago #22849

  • Hoffi
  • Hoffi's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 2279
  • Karma: 52
  • Thank you received: 449
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.
Pessimists are optimists with experience!

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

javascript error 3 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.

javascript error 4 months 3 weeks 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.

  • Page:
  • 1
Time to create page: 0.231 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......