issue 352 : Fixed a wrong url bug for inserted file link

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9640 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-10-13 08:43:25 +00:00
parent 95b311fe3b
commit c1f1dae31c

View file

@ -290,7 +290,6 @@ function reloadFileList(cfg) {
uploadedFiles[file_srl] = itm;
itm.previewAreaID = cfg.previewAreaID;
itm.download_url = encodeURI(itm.download_url).replace(/&/g, '&');
if(/\.(jpe?g|png|gif)$/i.test(itm.download_url)) {
loaded_images[file_srl] = $('<img />').attr('src', itm.download_url).get(0);