8000 Extra quotation mark in sideframe template. · Issue #6353 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
Extra quotation mark in sideframe template. #6353
Closed
@tjb346

Description

@tjb346

Summary

I think there is an extra quotation mark before the data-rel attribute in this template.
https://github.com/divio/django-cms/blob/c5780a0df1aa2e59f12f09cacbd800da4c693743/cms/templates/cms/toolbar/items/button_sideframe.html#L1

Expected behaviour

Toolbar updates properly after editing plugins.

Actual behaviour

Usually browser can handle without any issues. Can cause the following javascript error when toolbar tries to refresh markup:
DOMException: Failed to execute 'setAttribute' on 'Element': '"' is not a valid attribute name.

Environment

  • Python version: 2.7
  • Django version: 1.11
  • django CMS version: 3.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0