Closed roman-yagodin closed 5 years ago
It looks more safe to re-enable refresh instead of trying to enable it if it was initially disabled.
EditUrl()
method to get edit URL - it will provide edit URL with refresh=true
r7_dnnModal.disableRefresh()
via JavaScript. This will store close popup function with refresh=true
.r7_dnnModal.reEnableRefresh()
via JavaScript - this will restore close popup function with refresh=true
. Need testing in real module. After that, some support could be added to EditPortalModuleBase.
Enables page refresh on closing popup, i.e. then user trigger some data changes on server. May have issues in mobile browsers.
Reference code: https://github.com/dnnsoftware/Dnn.Platform/blob/d988e269c2d93b86edf8392e816bae54b903df86/Website/js/Debug/dnn.modalpopup.js