hi i have added additionalpagehead in sharepoint which will run a javascript functions to show some texts. It is working fine in all the sharepoint pages but it is working in sharepoint popup window also. How can i restrict it from popup windows
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
You will need to check if IsDlg query string parameter is not defined. For modal dialogs it is set to "1". JS code to achieve this client-side:
|
||||
|
|