Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14378

invalid html on event info page - id=event defined twice

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: None
    • Labels:
      None

      Description

      On creating a new event on the info & settings page I see ID event defined twice. I think this is a regression in 4.5 as I had the same level of error reporting in 4.4 on my local
      div id="event"

      The full html as passed to the 'alterContent' hook is per https://gist.github.com/eileenmcnaughton/9731910

      The specific section is

      <div class="crm-block crm-form-block crm-event-manage-eventinfo-form-block">
      <div id="event" class="crm-accordion-wrapper collapsed">
      <div class="crm-accordion-header"> event </div><!-- /.crm-accordion-header -->
      <div id="event" class="crm-accordion-body"> <table class="form-layout-compressed">

      I see 3 other html errors - I didn't look closely at the html to see about these

      Unexpected end tag : a in Entity, line: 63 in loadHTML()
      Unexpected end tag : script in Entity, line: 82 in loadHTML()
      Unexpected end tag : div in Entity, line: 83 in loadHTML()

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: