Skip to content

Commit

Permalink
fix get target directory size bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy201602 committed Feb 27, 2018
1 parent fd55385 commit 7d4bcc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elfinder/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def output(self, cmd, src):
else:
args['upload_path'] = False
self.handler_chunk(src, args)
elif cmd == "size":
args['targets'] = src.getlist('targets[0]')
args['debug'] = src['debug'] if 'debug' in src else False
return self.render_to_response(self.elfinder.execute(cmd, **args))

Expand Down

0 comments on commit 7d4bcc0

Please sign in to comment.