Hi Clofly,
I have cleared cache and tried but no luck.
I followed what you suggested but i didn't get the expected result.
This is a JS file.
Im using this function on a entity home page button.
function Decommission(selectedId) {
debugger;
var cssRules = '#modalDialogContentContainer { direction: ltr!important; }';
var styleElement = document.createElement('style');
styleElement.appendChild(document.createTextNode(cssRules));
parent.document.getElementsByTagName('head')[0].appendChild(styleElement);
var confirmStrings = { text: "Are you sure, You want to Decommission this TCU?", title: "Confirmation Dialog", confirmButtonLabel: "Yes", cancelButtonLabel: "No" };
var confirmOptions = { height: 200, width: 450 };
Xrm.Navigation.openConfirmDialog(confirmStrings, confirmOptions).then(
function (success) {
});
}
Regrds,
Hima