I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then closes immediately.
Is this a known issue, and how can I fix this?
To be more specific:
- I am using
SP.UI.ModalDialog.showModalDialog
to open the dialog - MDS pages are pages whose url contains
/_layouts/15/start.aspx#
When I remove the MDS part from the url the dialog works fine.
[Edit] To clarify, I am talking about having the mds page inside the dialog, not calling the dialog from a mds page. Something like this:
SP.UI.ModalDialog.showModalDialog({url:'/someSite/_layouts/15/start.aspx#/SitePages/Home.aspx'})
showModalDialog
? – James Love Feb 25 '13 at 22:42