From f26a91317cb6cacf73093ab4082c9cd63917de2f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 7 Nov 2010 07:49:55 -0500 Subject: [PATCH] Designer: the new relation box is often not completely visible --- pmd/scripts/move.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd/scripts/move.js b/pmd/scripts/move.js index a2f1dcd26..93180cbe2 100644 --- a/pmd/scripts/move.js +++ b/pmd/scripts/move.js @@ -517,7 +517,7 @@ function Click_field(T, f, PK) // table field } var left = Glob_X - (document.getElementById('layer_new_relation').offsetWidth>>1); document.getElementById('layer_new_relation').style.left = left + 'px'; - var top = Glob_Y - document.getElementById('layer_new_relation').offsetHeight - 10; + var top = Glob_Y - document.getElementById('layer_new_relation').offsetHeight + 40; document.getElementById('layer_new_relation').style.top = top + 'px'; document.getElementById('layer_new_relation').style.visibility = "visible"; link_relation += '&T2=' + T + '&F2=' + f;