WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Share Buttons by Lockerz / AddToAny] Javascript need to target Update form more carefully

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

  • 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. ]

  • The topic ‘[Plugin: Share Buttons by Lockerz / AddToAny] Javascript need to target Update form more carefully’ is closed to new replies.