Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10811

AJAX callback "alt_text" insufficiently changes links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • JavaScript / AJAX
    • None
    • PHP 5.3.5, MySQL(i) 5.5.8, Firefox 11.0

      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.

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

              Created:
              Updated:
              Resolved: