Expand my Community achievements bar.

SOLVED

Load same clientlibs for page properties dialog and component dialog

Avatar

Level 3

Hi,

I have a requirement where I need to use checkbox inside a multifield and an image field inside a multifield in the page properties dialog as well as a component dialog.

The categories cq.authoring.dialog does not load for page properties dialog. I tried copying the js files to a new clientlibs with category cq.siteadmin.admin.properties which is specific to the page properties dialog, but then both the clientlibs load on the page and give an error in the console

Uncaught RangeError: Maximum call stack size exceeded

    at instanceGenerator._addListeners (clientlib.js:1)

    at instanceGenerator._addListeners (clientlib.js:717)

Can anyone help on this ?

Thanks,

Ankush

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10