Hi Guys,
I am building a sharepoint online app. It consists of a button on the ribbon, that when clicked opens a modal. The problem I am having is that the list or page I am on refreshes when the modal closes. This is not the desired result, there is no need for the user to have to wait for the postback (refresh) to run through its motions.
Is there anyway I can prevent the parent refresh, please note again, I am using sharepoint online, not sharepoint on premise. This is my command handler that opens the modal.
<CommandUIHandler EnabledScript="javascript:alert('Not Implemented');" Command="cmdGetQRCode" CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={SelectedItemId}&SPListId={SelectedListId}&IsDlg=1" />