TypeError: entityElement.get(...) is undefined
.get(0)

edit.js?v=7.26 (строка 268)

Get error at page goo.gl/oNxhbD

Comments

parashutiki’s picture

Issue summary: View changes

Patched edit.js line 265

                if (typeof(entityElement.get(0)) !== 'undefined') {
                    var entityInstanceID = entityElement
                            .get(0)
                            .getAttribute('data-edit-entity-instance-id');
                } else {
                    var entityInstanceID = $(document);
                }
Wim Leers’s picture

Assigned: parashutiki » Wim Leers
Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Closed (duplicate)

This is only possible if you're using something else than Panels pages and/or nodes. See #1889798: Panelizer support (use Panels' render pipeline to re-render edited field panes in Panels) and #2168725: [META] Add support for in-place editing entity types other than Node for supporting other entity types and other entity rendering pipelines.