Merged r12274 from trunk to 2.4-stable (#13348)

fix repository tree can't handle two loading at once.

Contributed by Vadim Pushtaev.

git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12276 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-11-13 10:16:02 +00:00
parent 6628610ed6
commit 42a2dbd4ab
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ function expandScmEntry(id) {
}
function scmEntryClick(id, url) {
el = $('#'+id);
var el = $('#'+id);
if (el.hasClass('open')) {
collapseScmEntry(id);
el.addClass('collapsed');