mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
SCM browser:
* js code improvement (was very slow when collapsing a folder with a lot of entries) * folder icons changed git-svn-id: http://redmine.rubyforge.org/svn/trunk@867 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 1.0 KiB |
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user