Hi All,
I tried dialog-success and cq-dialog-submit event for page properties dialog submission in event AEM 6.4 touch UI.
But looks like it is not triggering this events for page properties. But, it is working for component dialog submission.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
I ran into the same problem. The page properties dialog does not work like other component dialogs. After some digging I found that this worked for me:
$document.on('foundation-form-submitted', '.granite-form-saveactivator-form', function(ev, success) {
if(success) {
// form submission was successful
// (after submit code here)
}
});
Could you check if this js code is defined in a clientlib that has "categories" as "cq.authoring.dialog"?
Views
Replies
Total Likes
I think, your clientlibs are not getting loaded.
Please check below to see how to trigger events when you outside dialog.
How to display Saving when click the Create button if not finish?
Views
Replies
Total Likes
I ran into the same problem. The page properties dialog does not work like other component dialogs. After some digging I found that this worked for me:
$document.on('foundation-form-submitted', '.granite-form-saveactivator-form', function(ev, success) {
if(success) {
// form submission was successful
// (after submit code here)
}
});