SP.UI.ModalDialog.showWaitScreenWithNoClose在SharePoint Online中的IE11上不起作用 [英] SP.UI.ModalDialog.showWaitScreenWithNoClose is not working on IE11 in SharePoint Online

查看:149
本文介绍了SP.UI.ModalDialog.showWaitScreenWithNoClose在SharePoint Online中的IE11上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我已经在此功能上进行了所有尝试,在使用REST API将文档上传到库中时,在chrome上出现了模式弹出式窗口,但在IE11中却没有.

 注意:有时我可以显示弹出窗口,有时它会损坏.

请帮助我解决这个问题.

SP.SOD.executeFunc('sp.ui.dialog.js','SP.UI.ModalDialog.showWaitScreenWithNoClose',函数(){
      mycode在这里..;
   });

解决方案

如果您愿意,我对您的逻辑感到困惑要打开模式对话框,为什么不使用SP.UI.ModalDialog.showModalDialog(options).

https://msdn.microsoft.com/zh-我们/图书馆/办公室/ff410058%28v=office.14%29.aspx?f=255&MSPPError=-2147217396

如果您要显示处理"对话框,看来您可以按以下方式调用该函数:

https://sharepointweblog.blogspot.sg/2014/08/sharepoint-2013-how -to-open-and-close.html

最好的问候,

Lee


Hi team,

I've tried all the way on this functionality ,I'm getting modal pop-up on chrome but not in IE11 while uploading documents to library using REST API.

 Note:Some times I'm able to displaying the popp-up and some times it's getting broken. 

Please assist me in this issue.

SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.ModalDialog.showWaitScreenWithNoClose', function () {
      mycode here..;
   });

解决方案

Hi,

I’m confused about your logic, if you want to open a modal dialog, why not use SP.UI.ModalDialog.showModalDialog(options). 

https://msdn.microsoft.com/en-us/library/office/ff410058%28v=office.14%29.aspx?f=255&MSPPError=-2147217396

If you want to display a ‘processing’ dialog, seems you could call the function as below:

var value = SP.UI.ModalDialog.showWaitScreenWithNoClose(title, message, height, width);

and to close just add below code

value.close(0);

value=null;

https://sharepointweblog.blogspot.sg/2014/08/sharepoint-2013-how-to-open-and-close.html

And I did test the function SP.UI.ModalDialog.showWaitScreenWithNoClose in IE 11, it works fine.

Please let me know whether my understanding correctly.

Best Regards,

Lee


这篇关于SP.UI.ModalDialog.showWaitScreenWithNoClose在SharePoint Online中的IE11上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆