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

JavaScript error and visible quote button on topic review if BBCodes disallowed

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.0.8-RC1
    • Component/s: Posting
    • Labels:
      None
    • Environment:
      PHP Environment:
      Database:

      Description

      I disabled BBCodes for guests and post message as guest, see JavaScript error:

      syntax error:
      bbcodeEnabled = ;\n

      The bad code is:

      <div id="topicreview">

      <script type="text/javascript">
      // <![CDATA[
      bbcodeEnabled = ;
      // ]]>
      </script>

      Should be:

      <div id="topicreview">

      <script type="text/javascript">
      // <![CDATA[
      var bbcodeEnabled = 0;
      // ]]>
      </script>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: