From 749562c46f9662935449621704907d0cf7483ce5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 9 Jul 2014 14:32:16 -0400 Subject: [PATCH] fix(listeners) onTouch: add path --- lib/client/listeners.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/client/listeners.js b/lib/client/listeners.js index 9e9732b5..0949f402 100644 --- a/lib/client/listeners.js +++ b/lib/client/listeners.js @@ -182,7 +182,10 @@ var Util, DOM, CloudFunc, CloudCmd; isCurrent = DOM.isCurrentFile(element); if (isCurrent) { - CloudCmd.loadDir(); + CloudCmd.loadDir({ + path: DOM.getCurrentPath() + }); + Events.preventDefault(event); } }