Pman.Tab.FtpFiles.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 05:16:50 +0000 (13:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 05:16:50 +0000 (13:16 +0800)
Pman.Tab.FtpFiles.js

index 6197b45..dca2ee0 100644 (file)
@@ -184,16 +184,16 @@ Pman.Tab.FtpFiles = {
                             
                             var mt = s[0].data.mimetype;
                             if (mt.match(/^text\//)) {
-                                _this.viewLayout.load(baseURL+ '/Ftp/View' + s[0].data.id + '?html=1');
+                                _this.viewLayout.load(baseURL+ '/Ftp/View/' + s[0].data.id + '?html=1');
                                 return;
                             }
                             if (mt.match(/\/xml$/)) {
-                                _this.viewLayout.load(baseURL+ '/Ftp/View' + s[0].data.id + '?html=1');
+                                _this.viewLayout.load(baseURL+ '/Ftp/View/' + s[0].data.id + '?html=1');
                                 return;
                             }
                             // download
                             new Pman.Download({
-                                url: baseURL+ '/Ftp/View' + s[0].data.id
+                                url: baseURL+ '/Ftp/View/' + s[0].data.id
                             });