Commit 0f0b34a9 authored by Gero Müller's avatar Gero Müller
Browse files

fix bugs in file

parent e4bcc6b8
......@@ -4,6 +4,10 @@ var FileBaseEvents = Class.extend({
this.menu = null;
},
abspath: function(data) {
return this.owner.workflow.path + '/' + data.name;
},
dblClickFolder: function(event, data) {
event.stopPropagation();
event.preventDefault();
......
......@@ -4,6 +4,10 @@ var FileBaseMenuItems = Class.extend({
},
abspath: function(data) {
return this.owner.workflow.path + '/' + data.name;
},
openFolder: function(data) {
var _this = this;
var item = {
......
......@@ -5,6 +5,10 @@ var FileBaseView = Class.extend({
this.fileContentContainer = null;
},
abspath: function(data) {
return this.owner.workflow.path + '/' + data.name;
},
setMainContainer: function() {
var _this = this;
......
......@@ -89,7 +89,7 @@ class FileSystem(object):
fullpath = os.path.join(path_expand, elem)
stats = os.stat(fullpath)
stats = os.lstat(fullpath)
size = stats.st_size
mtime = stats.st_mtime
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment