Modify upload script

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9313 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-09-23 09:11:49 +00:00
parent 5dbb64c26b
commit cb605c4ac6

View file

@ -43,10 +43,10 @@ function start(cfg) {
seq = cfg.editorSequence;
id = cfg.replaceButtonID;
$button = $('#'+id).css('position', 'relative');
$button = $('#'+id).wrap('<span style="position:relative" />');
width = $button.width();
height = $button.height();
$span = $('<span id="dummy'+id+'" />').appendTo($button);
$span = $('<span id="dummy'+id+'" />').insertAfter($button);
settings = {
flash_url : request_uri + 'modules/editor/tpl/images/SWFUpload.swf',