-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix: Trigger onChangeObjEvt on Obj move (#157) #158
base: main
Are you sure you want to change the base?
Conversation
@@ -73,7 +73,7 @@ | |||
</tal:block> | |||
<div class="dropdown-divider"></div> | |||
<a class="dropdown-item" href="manage_zmi_logout" data-turbolinks="false" | |||
tal:attributes="href python:'{}?lang={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang']) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout'; | |||
tal:attributes="href python:'{}?lang={}&__ac_name={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang'],request.get('AUTHENTICATED_USER')) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not seem to be related to this PR's subject
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the object itself is not really changed, I would suggest to just trigger a onObjMovedEvt
its not a change on the obj but its a change on parent because the order of the children is changed. But the PR doesnt solve the problem of the parent :-) |
The Changes on Products/zms/zpt/common/zmi_body_header.zpt are outdatet and the PR contains only the cahnges on onChangeObjEvt #158 1cde313 |
Please resolve conflicts in zmsobject.py |
If manage_movexxx is called there is no other method, which triggers onChangeObjEvt, so we added it in each method.