Hide hidden files in directory listing.

19 views
Skip to first unread message

icewind

unread,
Aug 28, 2009, 10:26:29 AM8/28/09
to arora-dev
I've created a patch to give the option to hide hidden files in the
directory listing.

It hides all files starting with a '.' (except '..') by default and
gives the option to show/re-hide them with a checkbox.

But because it checkes for the ',' I don't think it will hide files
correctly on windows but this was the only way I could think of to see
if a file must be hidden.

http://pastebin.com/m131993b2

Jakub Wieczorek

unread,
Aug 31, 2009, 3:18:12 PM8/31/09
to arora-dev
There's actually a better solution that would also work on windows.
Hidden files can have a special class assigned by default (on
generation time) and the only thing to do would be to toggle the
style. This should also simplify the patch a lot. What do you think?

icewind

unread,
Aug 31, 2009, 3:28:00 PM8/31/09
to arora-dev
It sure would but I tried to make a pure javascript/css solution
first.

I will see if I can use sollution.
Reply all
Reply to author
Forward
0 new messages