On the Front-End the "u:OnUpdate
" event is used to update user's profile.
To support profile update via AJAX (without page reload) the "u:OnUpdateAjax
" event needs to be added.
Solution
- add the "
OnUpdateAjax
" event to the "UsersEventHandler
" class - change the "
UsersEventHandler::CheckPermission
" method to make all "OnUpdate*
" event to be checked for ownership
Before | After |
---|---|
modules\in-commerce\units\orders\orders_event_handler.php if ( $event->Name == 'OnUpdate' ) { | modules\in-commerce\units\orders\orders_event_handler.php if ( substr($event->Name, 0, 8) == 'OnUpdate' ) { |
Related Tasks
Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.