norcross / gravity-tooltips

Adds a custom field to each form element for tooltips
MIT License
74 stars 20 forks source link

Uncaught TypeError: Cannot read property 'msie' of undefined #19

Closed MikevHoenselaar closed 9 years ago

MikevHoenselaar commented 9 years ago

1) Downloaded the plugin and activated it 2) My settings: https://www.dropbox.com/s/prv2vm738rkzdxk/Schermafdruk%202015-04-28%2010.04.59.png?dl=0 3) Go into a form and add some text like:
https://www.dropbox.com/s/xqes0xhsjorivpj/Schermafdruk%202015-04-28%2010.02.30.png?dl=0 4) Click on Preview and the whole form isn't showing any more. 5) removing the text displays the form again when using Preview

When I check the Console tab I see the Uncaught TypeError error message. https://www.dropbox.com/s/7htl9yxmm0byies/Schermafdruk%202015-04-28%2010.05.37.png?dl=0

norcross commented 9 years ago

this error is tied to jQuery migrate not being made available. two things:

  1. did you actually save the settings? (yes, it's something I need to do on activation)
  2. does the error also occur on the actual embedded form, outside of the preview?
MikevHoenselaar commented 9 years ago

1) yes twice 2) yes, still blank screen

norcross commented 9 years ago

ok. is there a URL I can look at? its tied to jQuery but I need to see the resources that are loading

MikevHoenselaar commented 9 years ago

http://robot-vloerverwarming.nl/robot-solution-finder/

norcross commented 9 years ago

the issue is you are loading an older version of jQuery (from Google CDN instead of core) which doesn't include the jQuery Migrate portion.

MikevHoenselaar commented 9 years ago

Changed it to 2.1.4, but error still the same. So I took the core version. That works. :)

norcross commented 9 years ago

good deal. the core version include Migrate which handles some back compatibility stuff