Skip to content

Javascript error prevents tag auto-suggest and tag saving from working #88

@ericpedia

Description

@ericpedia

Though category dropdowns work fine, FEE's auto-suggest feature does not work on my site. I get this javascript error:

TypeError: 'undefined' is not a function (evaluating 'this.input.suggest')

There are no other errors in the console.

Here is the code I use in my template:

<div>
    <div>Issues: <?php the_terms( get_the_id(), 'issue', $before, ' | ', $after ); ?></div>
</div>

And here is what I added to functions.php, as outlined the wiki:

function fee_choose_taxonomy_interface( $data ) {
  if ( isset( $data['taxonomy'] ) ) {
    switch ( $data['taxonomy'] ) {
      case 'issue':
        $data['type'] = 'terminput';
        break;

      // etc.
    }
  }

  return $data;
}

add_filter( 'front_end_editor_wrap', 'fee_choose_taxonomy_interface' );

What could be causing this? I am on WP 3.4.2 with the most recent FEE installed, but I've never gotten FEE autosuggest to work on this particular site, even with previous versions of both WP and FEE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions