fix: Asset context menus sometimes appearing in wrong location in IE
This commit is contained in:
parent
54616b5f89
commit
23166313d7
2 changed files with 4 additions and 1 deletions
|
|
@ -11,6 +11,8 @@
|
|||
- fix: AOIHits and AOIRank not working (Yung Han Khoe / United Knowledge)
|
||||
- fix: HTMLArea form control crashing page if the specified Rich Editor could
|
||||
not be loaded.
|
||||
- fix: Asset context menus sometimes appearing in wrong location in IE
|
||||
http://www.plainblack.com/bugs/tracker/export-contextual-menu-not-always-working-in-ie.--works-great-in-firefox
|
||||
|
||||
|
||||
7.3.17
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ var firedobj = ie5?e.srcElement:e.target;
|
|||
yoffset+=firedobj.offsetTop;}
|
||||
firedobj=firedobj.offsetParent;
|
||||
}
|
||||
var el = document.documentElement;
|
||||
var el = (document.documentElement && document.documentElement.scrollTop)
|
||||
? document.documentElement : document.body;
|
||||
posx = e.clientX - xoffset + (ie5? el.scrollLeft : window.pageXOffset);
|
||||
posy = e.clientY - yoffset + (ie5? el.scrollTop : window.pageYOffset);
|
||||
menuobj.style.left=posx + "px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue