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

Errors in acp_ban.html

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Duplicate
    • 3.0.8
    • None
    • ACP
    • None

    Description

      The length field on the ban page is an input field, so it does not have an accessible innerHTML property like the textareas do. The value property should be used. Internet Explorer will throw JavaScript errors, Chrome will ignore it, but neither updates the shown value.

      document.getElementById('acp_unban').unbanlength.innerHTML = ban_length[option];

      should be:

      document.getElementById('acp_unban').unbanlength.value = ban_length[option];

      Additionally, the emphasis that is supposed to be added to excluded bans is only detected in FireFox and not Chrome or IE. Chrome reports that the font-weight value is overridden by the user agent stylesheet. IE's trace shows that it's applied, they just don't render it.

      Attachments

        Issue Links

          Activity

            People

              Oleg Oleg [X] (Inactive)
              Noxwizard Patrick Webster
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: