From d78e314d51fb0bc8821e2ca6cf0e3c2cf5eab59c Mon Sep 17 00:00:00 2001 From: Sagorika Das Date: Thu, 1 Mar 2018 17:19:07 +0530 Subject: [PATCH 1/2] New folder creation flow Descend into newly created folder by clicking enter again. Signed-off-by: Sagorika Das --- apps/files/js/filelist.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b46db792678..3ee976f1332 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1433,6 +1433,12 @@ $tr.addClass('appear transparent'); window.setTimeout(function() { $tr.removeClass('transparent'); + $("#fileList tr").each(function(index) { + if ($(this).hasClass("mouseOver")) { + $(this).removeClass("mouseOver"); + } + }); + $tr.addClass('mouseOver'); }); } From 5d9d0b00e014c16936c217ee26c0d1170b99313a Mon Sep 17 00:00:00 2001 From: Sagorika Das Date: Thu, 1 Mar 2018 18:20:37 +0530 Subject: [PATCH 2/2] updated js Signed-off-by: Sagorika Das --- apps/files/js/filelist.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 3ee976f1332..e4a7fc9db9b 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1433,11 +1433,7 @@ $tr.addClass('appear transparent'); window.setTimeout(function() { $tr.removeClass('transparent'); - $("#fileList tr").each(function(index) { - if ($(this).hasClass("mouseOver")) { - $(this).removeClass("mouseOver"); - } - }); + $("#fileList tr").removeClass('mouseOver'); $tr.addClass('mouseOver'); }); }