Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.4 Touch UI Dialog - Full Screen JavaScript Event Handlers

Avatar

Avatar
Level 1
mahdern11613285
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
mahdern11613285
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
mahdern11613285
Level 1

16-01-2019

Hi,

I was testing the JavaScript functions I wrote for populating the multifield component when the dialog loads and the function used to submit the values from the dialog. Accidentally found out that the touch UI dialog JS functions like....

$(document).on("click", ".cq-dialog-submit", function (e) {

....

});

$(document).on("dialog-ready", function() {

....

});

Do not fire when the touch UI dialog is in full screen layout mode.

Also when you drag the browser to half of your screen and open up the touch UI dialog, it will automatically open in full screen touch UI dialog mode. As a result, all the JavaScript functions I have created DO NOT work and the multifield part which depends on the JS code will not work.

So, is there a JS code that I have to add so that It can handle this exact situation?

Thanks in advance,

Mahder N.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

16-01-2019

I talked to our team about this. If this is happening, its a bug. This event should fire. Please open a support ticket.