[DE desktop] Fix position for style menu
This commit is contained in:
parent
152ec13514
commit
2e57695d06
|
@ -1837,11 +1837,12 @@ define([
|
|||
menu.items[3].setDisabled(isAllDefailtNotModifaed);
|
||||
menu.items[4].setDisabled(isAllCustomDeleted);
|
||||
|
||||
var top = e.clientY*Common.Utils.zoom();
|
||||
var parentOffset = this.toolbar.$el.offset(),
|
||||
top = e.clientY*Common.Utils.zoom();
|
||||
if ($('#header-container').is(":visible")) {
|
||||
top -= $('#header-container').height()
|
||||
}
|
||||
showPoint = [e.clientX*Common.Utils.zoom(), top];
|
||||
showPoint = [e.clientX*Common.Utils.zoom(), top - parentOffset.top];
|
||||
|
||||
if (record != undefined) {
|
||||
//itemMenu
|
||||
|
|
Loading…
Reference in a new issue