From 2b1a7529471db54ff53f50818b43e6be71432f6a Mon Sep 17 00:00:00 2001 From: taggon Date: Wed, 16 Feb 2011 09:07:25 +0000 Subject: [PATCH] =?UTF-8?q?#19294675=20=ED=81=B4=EB=A6=AD=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EC=9C=84=EC=B9=98=EB=A5=BC=20=EA=B8=B0=EC=A4=80?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=ED=8C=8C=EC=9D=BC=20=EC=B2=A8=EB=B6=80?= =?UTF-8?q?=EC=B0=BD=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8101 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xeed/js/xeed.js | 6 ++++-- modules/editor/skins/xeed/xd.css | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/editor/skins/xeed/js/xeed.js b/modules/editor/skins/xeed/js/xeed.js index aa25ee35a..eb01b08d4 100644 --- a/modules/editor/skins/xeed/js/xeed.js +++ b/modules/editor/skins/xeed/js/xeed.js @@ -2373,9 +2373,11 @@ FileUpload = xe.createPlugin('FileUpload', { this.updateFileSize(); }, API_SHOW_FILE_MODAL : function() { - var self = this, uploader, file_group = [], $form, params, seq; + var self = this, uploader, file_group = [], $form, params, seq, offset_top; + + offset_top = this.$btn.offset().top; - this.$modal_box.show(); + this.$modal_box.css('top', offset_top+13).show(); this.$attach_list.show(); // register ESC hotkey diff --git a/modules/editor/skins/xeed/xd.css b/modules/editor/skins/xeed/xd.css index 9ada08428..012498b98 100644 --- a/modules/editor/skins/xeed/xd.css +++ b/modules/editor/skins/xeed/xd.css @@ -305,7 +305,7 @@ .xd .edit .xdcs{position:relative;overflow:hidden !important;padding:10px;cursor:text;outline:none} .xd .edit .xdsc{border:0;padding:20px 25px;overflow:auto;background:transparent;font:12px "Courier New", Courier, monospace} /* XD Layer Window */ -.xdlw{display:none;position:absolute;top:0;left:0;z-index:1000;color:#000;overflow:visible;width:100%;height:100%} +.xdlw{display:none;position:absolute;top:0;left:0;z-index:1000;color:#000;overflow:visible;width:100%;height:1px} .xdlw img{border:0} .xdlw .iHead{background-position:0 -1140px;background-repeat:repeat-x;border-bottom:1px solid #ccc;font-size:12px;padding:10px 0;*zoom:1;cursor:move;overflow:hidden} .xdlw .iHead:after{content:"";display:block;clear:both} @@ -323,7 +323,7 @@ .xdlw .iFoot .btnArea.fl{float:left} .xdlw .iFoot .btnArea.fr{float:right} /* XD Layer Window - AL(Attached List) */ -.xdal{display:none;width:780px;margin:100px auto 0 auto;background:#fff;border:3px solid #666;box-shadow:0 0 10px #999;-moz-box-shadow:0 0 10px #999;-webkit-box-shadow:0 0 10px #999} +.xdal{display:none;width:780px;margin:0 auto;background:#fff;border:3px solid #666;box-shadow:0 0 10px #999;-moz-box-shadow:0 0 10px #999;-webkit-box-shadow:0 0 10px #999} .xdal .iFoot .info{margin:0;float:left;font-size:11px;line-height:normal;padding:0 0 0 20px;color:#666} .xdal .label{line-height:30px;font-weight:bold;margin:0;padding:0 0 0 24px;font-size:12px} .xdal .img .label{background-position:0 -280px}