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
This commit is contained in:
taggon 2011-10-13 08:04:33 +00:00
parent 3ea1e07541
commit 0c970b4643

View file

@ -43,7 +43,7 @@ function start(cfg) {
seq = cfg.editorSequence;
id = cfg.replaceButtonID;
$button = $('#'+id).wrap('<span style="position:relative" />');
$button = $('#'+id).wrap('<span style="position:relative;display:inline-block" />');
width = $button.width();
height = $button.height();
$span = $('<span id="dummy'+id+'" />').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'
});