【问题标题】:window.showModalDialog is Appearing twice in IE8window.showModalDialog 在 IE8 中出现两次
【发布时间】:2010-08-30 04:57:18
【问题描述】:

我在 CRM 4.0 中进行对话框开发。通过这一行打开对话框:-

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

在此对话框的 Ok 按钮上,编写的代码是 Save operation + alert('xxxx') + window.close();并在取消按钮上 window.close();。

我面临的问题是当我选择“确定”或“取消”按钮时,当前的 ModalDialog 行为符合预期,但 ModalDialog 的相同 URL 在完整的 IE 浏览器中再次打开。这仅在我浏览生产 IE 浏览器实例时发生在生产中,而如果我从任何其他机器访问生产 CRM,工作流和一切都很好,意味着它不会再次打开。

我觉得在生产 IE 浏览器中存在一些设置问题。由于许多 CRM 用户通过终端服务访问生产机器,所以我也需要这个功能来进行生产。 Windows server 2003 R2 x64 (with SP2) with IE8 已安装在生产环境中。

【问题讨论】:

    标签: dynamics-crm dynamics-crm-4


    【解决方案1】:

    <head> 标签下添加<base target="_self"/>

    发件人:herehere

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-16
      相关资源
      最近更新 更多