PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

curCSS call in jquery.dimensions.js now breaks form editing in wordpress 3.5

  1. cwd

    gravityforms/js/jquery.dimensions.js has a call near the bottom:

    function num(el, prop) {
    	return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;

    this breaks in wordpress 3.5 as $.curCSS is an alias that is no longer supported

    The library should be updated or this should be changed to jQuery.css

    Posted 9 years ago on Friday December 14, 2012 | Permalink
  2. I will bring this to the attention of the development team.

    Posted 9 years ago on Tuesday December 18, 2012 | Permalink
  3. Can you explain if you're having a problem or where you are seeing a notice of this? We're not able to create any issue related to this at all. Thank you.

    Posted 9 years ago on Wednesday December 19, 2012 | Permalink
  4. scangroup

    I experienced this error when using GF in combination with the "Admin Menu Tree Page View" ( Disabling AMTPV solved the issue. I was only experiencing an issue on the admin side, and was unable to edit any forms, however I did not see any problems with the live form.

    In my brief look, I do not see why there would be a conflict, though. I do not see AMTPV overriding any scripts. Below are the enqueue lines in the init action:

    • js/jquery.highlight.js
    • js/jquery.biscuit.js (jQuery.Cookie Renamed)
    • js/jquery.ui.nestedSortable.js
    • js/jquery.client.js
    • jquery-ui-sortable
    • js/scripts.js

    Since disabling AMTPV fixes the problem, but the error is from a GF script, I'm just providing the information to allow both sides to investigate.


    Posted 9 years ago on Thursday January 3, 2013 | Permalink
  5. Thank you for providing that additional information. I will bring this to the attention of the developers once again with this information.

    Posted 9 years ago on Thursday January 3, 2013 | Permalink
  6. The curCSS script is no longer required by Gravity Forms and will be removed from the code in version 1.7 when it's released.

    Regarding the Admin Tree Page View plugin conflict, we were unable to reproduce that. I installed version 2.6, which was released on 1/2/2013. Is is possible the changes in 2.6 fixed the problem you are having currently? Here is the changelog from 2.6 AMTPV:

    Fixes for popup on WP 3.5
    Replaced live() with on() for jQuery
    Small CSS fixes, for example search box label being a bit off
    Posted 9 years ago on Tuesday January 8, 2013 | Permalink
  7. mrardon

    I am experiencing the same issue and have 2.6 AMTPV, we still had to disable it to edit our forms properly.

    According to more recent comments on this page they are working on a solution on their end.

    Posted 9 years ago on Tuesday January 8, 2013 | Permalink
  8. Interesting. Sounds like it is more an issue with AMTPV and WordPress 3.5 than it is with Gravity Forms? In any event, neither the developers nor myself could recreate a problem.

    Posted 9 years ago on Tuesday January 8, 2013 | Permalink
  9. According to the author of the AMTPV plugin:
    "Gravity Forms uses a jQuery plugin called jquery.dimensions, which has been integrated with jQuery core since jQuery 1.2.6. The latest/current version of WordPress uses 1.8.3 and it does not contain some of the methods that the old dimensions-plugin use (for example curCSS, which was removed in jQuery (more info here:
    So not much I can do. Try again at the Gravity Forms forum."

    I can confirm that the conflict is still present with version AMTPV version 2.6, GF 1.6.11 and Wordpress 3.5.

    Love both plugins, looking forward to a solution.
    Thanks everyone,

    Posted 9 years ago on Sunday January 20, 2013 | Permalink
  10. I'll bring this to the attention of the development team.

    Posted 8 years ago on Monday January 28, 2013 | Permalink
  11. We've deleted that file from the very latest version. If you would like a copy before it's publicly released, please send an email to and reference this topic.

    Thank you.

    Posted 8 years ago on Tuesday January 29, 2013 | Permalink

This topic has been resolved and has been closed to new replies.