From 0402e326cb1274a4decaa54d3606453818a665f9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 3 Jan 2009 05:52:20 +0000 Subject: Resize the quickedit box after rotation. --- core/js/quickedit.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/js/quickedit.js') diff --git a/core/js/quickedit.js b/core/js/quickedit.js index 5dad5e1f..fac227ba 100644 --- a/core/js/quickedit.js +++ b/core/js/quickedit.js @@ -36,6 +36,14 @@ var quickedit = function(url, img) { img.attr("width", data.width); img.attr("height", data.height); img.attr("src", data.src); + var pos = img.position(); + $("#gQuickEditPane").css({ + "position": "absolute", + "top": pos.top, + "left": pos.left, + "width": img.innerWidth() + 1, + "height": 32 + }); } }); }; -- cgit v1.2.3