WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[Plugin: Share Buttons by Lockerz / AddToAny] Javascript need to target Update form more carefully (1 post)

  1. Charles St-Pierre
    Member
    Posted 2 years ago #

    The javascript function to_input (lines 1183 to 1204) need to target the update form better than just form:first.

    I had another plugin putting a form just on top in the page, and I lost all my services on updating my functions. Took me a while to figure it out.

    SOLUTIONS:

    I've added a ID to the form (#A2A_SHARE_SAVE_update_options) on line 919, and target jQuery to it by ID in the function. Much more specific and no risk.

    That's a simple correction to add to the next version. right?

    http://wordpress.org/extend/plugins/add-to-any/

    [ Please do not bump, it's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Charles St-Pierre
  • This topic is not resolved
  • WordPress version: 3.3.2

Tags

No tags yet.