Hello,
Is it possible to disable the pop-up "leave this page" when you click on a record while your viewing the entity list in a pop-up?
I use this code to open a entity list in a pop-up navigation:
var pageInput = {
pageType: "entitylist",
entityName: "account"
};
var navigationOptions = {
target: 2,
height: {value: 90, unit:"%"},
width: {value: 90, unit:"%"},
formType: 2,
position: 1
};
Xrm.Navigation.navigateTo(pageInput, navigationOptions).then(
function success() {
// Run code on success
},
function error() {
// Handle errors
}
);
But when i click on a record to view more details it will give a pop-up with "Leave this page"

How can i disable this pop-up and let the user click trough so he can see the record details? Is this possible or are there other ways to achieve this?
Kind regards,
Arjan