diff --git a/modules/editor/skins/xeed/js/xeed.js b/modules/editor/skins/xeed/js/xeed.js index 702fb6690..0dc2b384f 100644 --- a/modules/editor/skins/xeed/js/xeed.js +++ b/modules/editor/skins/xeed/js/xeed.js @@ -2497,7 +2497,7 @@ FileUpload = xe.createPlugin('FileUpload', { * @brief Insert a file into the rich editor */ API_INSERT_FILE_INTO : function(sender, params) { - var type = params[0], url = params[1], name = params[2], ext, sel; + var type = params[0], url = params[1], name = params[2], ext, sel, code; if (type == 'img') { code = ''+name+'\n';