From 0c970b46430dc0ec283868d524cc1d1aad3e3929 Mon Sep 17 00:00:00 2001 From: taggon Date: Thu, 13 Oct 2011 08:04:33 +0000 Subject: [PATCH] issue 93: A button for attaching files is malfunction git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9637 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/tpl/js/uploader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/tpl/js/uploader.js b/modules/editor/tpl/js/uploader.js index 4aff22efe..bfe5976a1 100755 --- a/modules/editor/tpl/js/uploader.js +++ b/modules/editor/tpl/js/uploader.js @@ -43,7 +43,7 @@ function start(cfg) { seq = cfg.editorSequence; id = cfg.replaceButtonID; - $button = $('#'+id).wrap(''); + $button = $('#'+id).wrap(''); width = $button.width(); height = $button.height(); $span = $('').insertAfter($button); @@ -125,7 +125,7 @@ function start(cfg) { cursor : 'pointer', position : 'absolute', left : 0, - top : '-3px', + top : 0, width : width + 'px', height : height + 'px' });