开发者

window.showModalDialog is Appearing twice in IE8

I am doing Dialog box development in CRM 4.0. Opening the dialog box through this line:-

JavaScript="window.showModalDialog('http://localhost/CinmarPages/BatchPurchaseOrderChange.aspx', window, 'dialogHeight: 400px; dialogWidth: 600px;help:0;status:0;scroll:0'); crmGrid.Refresh();"

On the Ok button of this dialog box the code written is something Save operation + alert('xxxx') + window.close(); and on the cancel butto开发者_如何学运维n window.close();.

The issue which I am facing is when I choose OK or cancel button, the current ModalDialog behaviour is as expected, but the same URL of ModalDialog open again in full fledge IE browser. This is happening only in production when I am browsing the production IE browser instance, while if I access the production CRM from any other machine, the workflow and everything is fine means, its not opening again.

I feel there is some setting issue in the production IE browser. Since, many of CRM user accessing production machine through terminal services, so I need this functionality to work on production too. Windows server 2003 R2 x64 (with SP2) with IE8 is installed on production.


Add <base target="_self"/> under the <head> tag.

From: here, and here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜