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

AJAX callback "alt_text" insufficiently changes links

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • JavaScript / AJAX
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: