From 364af92224b08ec186157326ec661bcc6e797853 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 9 Aug 2012 08:35:42 -0400 Subject: [PATCH] minor changes --- client.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client.js b/client.js index f98dd896..4b2e9fd8 100644 --- a/client.js +++ b/client.js @@ -754,9 +754,8 @@ CloudClient._currentToParent = (function(pDirName){ * set it to current file */ if(lRootDir){ - lCurrentFile.className = ''; - - lRootDir.className = CloudClient.CURRENT_FILE; + Util.unSetCurrentFile(lCurrentFile); + Util.SetCurrentFile(lRootDir); lRootDir.scrollIntoViewIfNeeded(); } }); @@ -772,7 +771,7 @@ var CloudFunc, $, Util, */ CloudClient.init=(function() { - Util = new CloudClient.Util(); + Util = new CloudClient.Util(); getByClass = Util.getByClass; getById = Util.getById;