Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10811

AJAX callback "alt_text" insufficiently changes links

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: JavaScript / AJAX
    • Labels:
      None
    • Environment:
      PHP 5.3.5, MySQL(i) 5.5.8, Firefox 11.0

      Description

      The AJAX callback "alt_text" is currently used for the following links:

      • Subscribing/Unsubscribing from forums
      • Subscribing/Unsubscribing from topics
      • Bookmarking topics

      The problem is that "alt_text" only changes the link title but neither the link nor the icon are changed.
      For example after subscribing the link title will be changed to "Unsubscribe topic". Clicking on it again will first ask you if you want to unsubscribe from this forum (which is obviously incorrect) and by clicking on yes it will show an error message.

      A possible fix might be adding two new attributes, data-alt-href andd data-alt-icon.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickvergessen Joas Schilling
                Reporter:
                marc1706 marc1706
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: