Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Window.ShowDialog not working on updateroll 12

$
0
0

We updated CRM to rollup 12 and now this code isn't working anymore:

function PopupCenter(pageURL, title, w, h) {
    var left = (screen.width / 2) - (w / 2);
    var top = (screen.height / 2) - (h / 2);
    var targetWin = window.showModalDialog(pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
}

When i click button i which calls this function i get very small window in which i cant se my custom dialog...





Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>