#19294675 클릭하는 위치를 기준으로 파일 첨부창 표시

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8101 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-16 09:07:25 +00:00
parent 3275666fbf
commit 2b1a752947
2 changed files with 6 additions and 4 deletions

View file

@ -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