Hi,
I am getting some weird error. The following is my script I have added in Script Editor Web part. The code is working fine when I checkout and save the page, dialog will be shown.
<a href="javascript:var options=SP.UI.$create_DialogOptions();options.url='SubmissionViewFields.aspx';options.height = 300;options.width = 175;options.x=990;void(SP.UI.ModalDialog.showModalDialog(options))">View Columns</a>When I publish the page, the dialog will not be shown and not even showing an error in the status bar. If any body has come across the same situation, please provide the solution.
My Recent Gallery Upload: PowerShell Script for Creating Site Collection with Host Headers