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

A custom attribute of a "link" type in ezoe editor doesn't work with custom tags which names contain underscore

    Details

      Description

      For example, I have a custom tag "read_more", and I want to add an attribute to it like: "more_node" and then set a "link" type in ezoe to browse a needed node for this attribute, then I get empty browse window.

      extension/ezoe/design/standard/templates/ezoe/customattributes/link.tpl

      line 182:

      lid : function( id )
      {
          var arr = id.split('_');
          return arr[0] + '_' + arr[1];
      }
      

      The problem is that this function separates a tag name and an attribute by underscore. In this case it won't work in the proper way.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Sergey Fedus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: