Skip to content
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

Fixed DwtBaseDialog._initializeDragging offset #40

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bud-mo
Copy link

@bud-mo bud-mo commented Oct 6, 2017

https://bugzilla.zimbra.com/show_bug.cgi?id=103201

During the initialization of the dragging of the DwtBaseDialog a wrong offset was calculated resulting in a dialog locked with Y=0 and X movable.
This patch initialize the correct boundaries to let the dialog to be dragged everywhere in the window.

How to reproduce:

  • Open the admin console
  • Popup a dialog, Your choice
  • Click on the title bar of the dialog and drag the dialog

What happens:

  • The dialog is moved on the top of the window and can slide only in X coordinates

Expected:

  • The dialog must follow the mouse movements

During the initialization of the dragging of the DwtBaseDialog a wrong offset was calculated resulting in a dialog locked with Y=0 and X movable.
This patch initialize the correct boundaries to let the dialog to be dragged everywhere in the window.

How to reproduce:
- Open the admin console
- Popup a dialog, Your choice
- Click on the title bar of the dialog and drag the dialog

What happens:
- The dialog is moved on the top of the window and can slide only in X coordinates

Expected:
- The dialog must follow the mouse movements
@CLAassistant
Copy link

CLAassistant commented Oct 6, 2017

CLA assistant check
All committers have signed the CLA.

@silentsakky
Copy link
Member

@bud-mo admin console is using zm-admin-ajax, can we move this fix to that repo?

@bud-mo
Copy link
Author

bud-mo commented Oct 12, 2017

@silentsakky Yes sure, Do You prefer I create another pull-request or You can move that fix?

@silentsakky
Copy link
Member

It would be better if you can make the changes in repo and test it then you can create a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants