Merge branch 'feature/override_form_params' into 'develop'
fix See merge request BPHV_MIPS/mvm_core_ui!613
This commit is contained in:
commit
bc5bca1755
@ -439,13 +439,17 @@ import UIKit
|
||||
MVMCoreUISession.sharedGlobal()?.splitViewController?.showRightPanel(animated: true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Override this method to avoid adding form params.
|
||||
open func addFormParams(_ requestParameters: MVMCoreRequestParameters) {
|
||||
formValidator?.addFormParams(requestParameters: requestParameters)
|
||||
}
|
||||
//--------------------------------------------------
|
||||
// MARK: - MVMCoreActionDelegateProtocol
|
||||
//--------------------------------------------------
|
||||
|
||||
open func handleOpenPage(for requestParameters: MVMCoreRequestParameters, actionInformation: [AnyHashable: Any]?, additionalData: [AnyHashable: Any]?) {
|
||||
formValidator?.addFormParams(requestParameters: requestParameters)
|
||||
addFormParams(requestParameters)
|
||||
requestParameters.parentPageType = loadObject?.pageJSON?.optionalStringForKey("parentPageType")
|
||||
MVMCoreActionHandler.defaultHandleOpenPage(for: requestParameters, additionalData: additionalData, delegateObject: delegateObject())
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user