summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/images/folder.pngbin506 -> 1026 bytes
-rw-r--r--public/images/folder_open.pngbin488 -> 1031 bytes
-rw-r--r--public/javascripts/application.js4
3 files changed, 3 insertions, 1 deletions
diff --git a/public/images/folder.png b/public/images/folder.png
index 03e56110c..d2ab69ad5 100644
--- a/public/images/folder.png
+++ b/public/images/folder.png
Binary files differ
diff --git a/public/images/folder_open.png b/public/images/folder_open.png
index 2b49d314a..e8e8c412e 100644
--- a/public/images/folder_open.png
+++ b/public/images/folder_open.png
Binary files differ
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 8432685dd..075bb7a90 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -62,7 +62,9 @@ function checkBulkEdit(form) {
function collapseScmEntry(id) {
var els = document.getElementsByClassName(id, 'browser');
for (var i = 0; i < els.length; i++) {
- collapseScmEntry(els[i].id);
+ if (els[i].hasClassName('open')) {
+ collapseScmEntry(els[i].id);
+ }
Element.hide(els[i]);
}
$(id).removeClassName('open');