Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13087

dit\ezobjectrelationlist.tpl: wrong id for div tag

    XMLWordPrintable

Details

    Description

      Hi,

      design\standard\templates\content\datatype\edit\ezobjectrelationlist.tpl:
      line 190:
      <div id='{$attribute.id}_create_new_object' style="display:none;">

      line 195
      onclick="var divfield=document.getElementById('{$attribute.id}_create_new_object');divfield.style.display='block';

      The id of a tag must not start with a number.

      Fix:
      <div id='create_new_object_{$attribute.id}' style="display:none;">

      and
      onclick="var divfield=document.getElementById('create_new_object_{$attribute.id}');divfield.style.display='block';

      References:

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            andre1 andre1
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: