"MDL-13766,fixed argument"
authorDongsheng Cai <unoter@gmail.com>
Tue, 4 May 2010 10:17:48 +0000 (10:17 +0000)
committerDongsheng Cai <unoter@gmail.com>
Tue, 4 May 2010 10:17:48 +0000 (10:17 +0000)
lib/form/filemanager.js

index cba8e37..f00634a 100644 (file)
@@ -495,7 +495,7 @@ M.form_filemanager.init = function(Y, options) {
                 var filepath = '';
                 if (fileinfo.type == 'folder') {
                     params.filename = '.';
-                    params.filepath = fileinfo.fullname;
+                    params.filepath = fileinfo.filepath;
                 } else {
                     params.filename = fileinfo.fullname;
                 }