projects
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix, cosmétique.
[ckeditor.git]
/
skins
/
ckeditor
/
plugins
/
plinn_image
/
plugin.js
diff --git
a/skins/ckeditor/plugins/plinn_image/plugin.js
b/skins/ckeditor/plugins/plinn_image/plugin.js
index
13ce7f7
..
c7ae5ec
100644
(file)
--- a/
skins/ckeditor/plugins/plinn_image/plugin.js
+++ b/
skins/ckeditor/plugins/plinn_image/plugin.js
@@
-46,7
+46,8
@@
PlinnCKDDUploader.prototype.createFileProxy = function(file) {
var container = new CKEDITOR.dom.element('span');
var rel = CKEDITOR.dom.element.createFromHtml('<span style="position:relative"/>');
container.append(rel);
var container = new CKEDITOR.dom.element('span');
var rel = CKEDITOR.dom.element.createFromHtml('<span style="position:relative"/>');
container.append(rel);
- var progressBar = CKEDITOR.dom.element.createFromHtml('<span style="display:block; position:absolute; background:#ef8e32; height:4px; border-radius:2px; width:0"/>')
+ var progressBar = CKEDITOR.dom.element.createFromHtml(
+ '<span style="display:block; position:absolute; background:#ef8e32; height:4px; border-radius:2px; width:0; left:0; top:1em"/>');
rel.append(progressBar);
var link = new CKEDITOR.dom.element('a');
link.setAttribute('href', '#');
rel.append(progressBar);
var link = new CKEDITOR.dom.element('a');
link.setAttribute('href', '#');
@@
-72,6
+73,7
@@
PlinnCKDDUploader.prototype.handleFiles = function(files) {
else {
proxy = this.createFileProxy(file);
this.editor.insertElement(proxy.container);
else {
proxy = this.createFileProxy(file);
this.editor.insertElement(proxy.container);
+ this.editor.insertText(' ');
this.uploadQueuePush(proxy);
}
}
this.uploadQueuePush(proxy);
}
}