• Hi,
    Great job on the plugin. I like the search feature very much.

    When I click on the Heart icon to Favorite any menu link, the Red Heart does not show up instantly marking it as favorite. Instead, it simply remains as a blank Heart icon. No matter how many times I click on this icon, it always remains blank. Only when I reload the page, I get to see the Red Heart icon. This left me so confused and I thought the plugin was broken and only after reloading the page, I understood what was happening.

    So if you can have the Red Heart icon show up instantly when a menu link is favorited, I think the plugin will be perfect! Please let me know if you consider fixing this anytime soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author singhleo

    (@singhleo)

    Thanks, @ewdrobert for your support.
    can you share the WP version you are using?

    Same bug here, I’m on 4.7.5. I figured out what the issue was though. In “action-admin.js”, on line 83, change “window.ama_fav = jQuery.parseJSON(response);” to “window.ama_fav = response;”.

    It looks like jQuery is trying to parse json while the response is already json.. For some reason jQuery doesn’t recognize the datatype.. Applying the above changes fixed the issue for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Favorite (Red Heart) does not show up instantly in UI’ is closed to new replies.