A
A
Ainur Valiev2018-12-29 11:39:12
1C-Bitrix
Ainur Valiev, 2018-12-29 11:39:12

Bitrix why is the comment form broken under the admin?

Everything works under the admin, it's worth exiting - an error in the console
TypeError: BX.viewElementBind is not a function at HTMLDocument.
TypeError: window.BXEditor is not a constructor

This is for the forum.topic.reviews components (comments on the product) and the bitrix:main.post.form nested in it (the same vizivig editor that throws an error).
With nested components in the card, there was already a problem with scripts and styles, it was solved by adding the $component parameter to IncludeComponent(). But here is something else.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Filippenko, 2018-12-29
@vaajnur

If a component is included inside the cached area of ​​another component, its styles and scripts will not be included. Does it work with cache disabled?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question