projects
/
ckeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
35d32f3
)
Saut de ligne entre chaque élément lors d'un upload multiple (plutôt qu'une espace).
author
Benoît Pin
<benoit.pin@gmail.com>
Thu, 10 Apr 2014 09:04:23 +0000
(11:04 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Thu, 10 Apr 2014 09:04:23 +0000
(11:04 +0200)
skins/ckeditor/plugins/plinn_image/plugin.js
patch
|
blob
|
history
diff --git
a/skins/ckeditor/plugins/plinn_image/plugin.js
b/skins/ckeditor/plugins/plinn_image/plugin.js
index
046b7ad
..
695d114
100644
(file)
--- a/
skins/ckeditor/plugins/plinn_image/plugin.js
+++ b/
skins/ckeditor/plugins/plinn_image/plugin.js
@@
-121,7
+121,8
@@
PlinnCKDDUploader.prototype.handleFiles = function(files) {
proxy = this.createLinkProxy(file);
}
this.editor.insertElement(proxy.container);
proxy = this.createLinkProxy(file);
}
this.editor.insertElement(proxy.container);
- this.editor.insertText(' ');
+ if (files.length > 1 && i < files.length-1) {
+ this.editor.insertText('\n'); }
this.uploadQueuePush(proxy);
}
};
this.uploadQueuePush(proxy);
}
};