4
votes
2answers
600 views

Object #<Object> has no method 'showModalDialog'

Consider the following code: var options = { title: 'Create a new Post' autoSize: true, url: url } SP.UI.ModalDialog.showModalDialog(options); The code is executed from a ECB custom ...
3
votes
1answer
794 views

Hide upload Button on Asset Selector Dialog (AssetPortalBrowser.aspx)

I am looking to hide the "Upload" button in Asset Selector Dialog and I know Asset Selector Dialog uses Dialog.master in SharePoint. Is there a possibility to attach some custom jQuery/Javascript ...
3
votes
3answers
2k views

Is it possible to launch a modal that doesn't have the IsDlg property?

I need to open an external web page, say, http://google.com in a modal dialog. So if I were to do SP.UI.ModalDialog.showModalDialog(options); I get a modal window, however, it adds the IsDlg=1 ...