From 409d86dc19e1bb0f9aca2669646486bcc33fa480 Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 13 Dec 2011 02:31:47 +0000 Subject: [PATCH] issue 679: Fixed a bug that an error occur when user isn't allowed to upload files git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9944 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/dreditor/js/DrEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/skins/dreditor/js/DrEditor.js b/modules/editor/skins/dreditor/js/DrEditor.js index 94c923fec..f376798c7 100644 --- a/modules/editor/skins/dreditor/js/DrEditor.js +++ b/modules/editor/skins/dreditor/js/DrEditor.js @@ -1945,7 +1945,7 @@ var FileWriter = xe.createPlugin('FileWriter', { } }); -editor.registerPlugin(new FileWriter); +if(window.reloadFileList) editor.registerPlugin(new FileWriter); // List Writer var ListWriter = xe.createPlugin('ListWriter', {