Author Topic: ParamQuery 3.2.0 and jQuery 2+  (Read 2097 times)

qbcsystemsinc

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 3
    • View Profile
ParamQuery 3.2.0 and jQuery 2+
« on: January 18, 2016, 10:20:59 pm »
Is there a problem with the latest update and jQuery 2+?

I tried to replace 3.1.0 with 3.2.0, and now get the following error when running the same code:

Uncaught TypeError: Cannot read property 'option' of undefined
n.setScrollVNumEles   @   pqgrid.min.js:259
n.refreshScrollbars   @   pqgrid.min.js:273
n.softRefresh   @   pqgrid.min.js:272
(anonymous function)   @   pqgrid.min.js:58
(anonymous function)   @   pqgrid.min.js:53
n.event.dispatch   @   jquery.min.js:3
r.handle   @   jquery.min.js:3

Previously, I have also gotten a "Cannot read property 'drag' of undefined" error as well.

I'm using jQuery 2.1.3 from Google's CDN.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: ParamQuery 3.2.0 and jQuery 2+
« Reply #1 on: January 19, 2016, 12:10:03 am »
Yes there is an issue with ParamQuery 3.2.0 and jQuery 2+

which can be fixed with a patch which is mentioned here:

http://paramquery.com/forum/index.php?topic=1338.msg6154#msg6154