ソースを参照

[svn r20038] Fixes imagemanager popup moving when loaded (partial fix for FS#4007)

Yannick Warnier 16 年 前
コミット
519c4318ac

+ 1 - 1
main/inc/lib/fckeditor/editor/plugins/ImageManager/assets/popup.js

@@ -15,7 +15,7 @@
 // by each window's script. Added translation for a few other HTML elements.
 
 function getAbsolutePos(el) {
-	var r = { x: el.offsetLeft, y: el.offsetTop };
+	// var r = { x: el.offsetLeft, y: el.offsetTop }; // avoiding being in the center of the page
 	if (el.offsetParent) {
 		var tmp = getAbsolutePos(el.offsetParent);
 		r.x += tmp.x;