WordPress.org

Forums

Gravity Forms + Custom Post Types
Cant edit fields (6 posts)

  1. jelledejong89
    Member
    Posted 1 year ago #

    In WP 3.6.1 when having the GFCPT plugin enabled I can't press edit in the field.
    Console gives a javascript error: Uncaught Error: no such method 'select' for tabs widget instance

    Any solution/fixes for this?

    http://wordpress.org/plugins/gravity-forms-custom-post-types/

  2. wycks
    Member
    Posted 1 year ago #

    WP 3.6.1 broke the older versions of GF because it uses a new version of jQuery which no longer uses "selected" for .tabs. So you have 2 options.

    1. Update your GF to the newest version.

    2. Change the following code in GF's form_editor.js.

    Change:
    jQuery("#field_settings, #form_settings, #last_page_settings, #pagination_settings").tabs({selected:0});

    To:
    jQuery("#field_settings, #form_settings, #last_page_settings, #pagination_settings").tabs({active:0});

    AND change:
    jQuery("#field_settings").tabs("select", 0);

    To:
    jQuery("#field_settings").tabs("option", "active", 0);

  3. Sam_a
    Member
    Posted 1 year ago #

    Thanks wycks.

  4. Yeti
    Member
    Posted 1 year ago #

    that didn't seem to work for me... any other options?

  5. simple_mama
    Member
    Posted 1 year ago #

    Did not work for me either.

  6. surya prakash
    Member
    Posted 1 year ago #

    Thank you its work for me

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms + Custom Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.