Project

General

Profile

Actions

Defect #13348

closed

Repository tree can't handle two loading at once

Defect #13348: Repository tree can't handle two loading at once

Added by Vadim Pushtaev over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Resolution:
Fixed
Affected version:

Description

On the Repository page I click [+] near the trunk folder and while loading is processing I click [+] near branches. After both loadings are finished I have this:

branches
|-branch1
|-branch2
|-file1
`-file2
tags
trunk

instead of this:
branches
|-branch1
`-branch2
tags
trunk
|-file1
`-file2

As you can see, loading result appeared in the last chosen folder, not in the appropriate one.


Files

13348.diff (658 Bytes) 13348.diff Vadim Pushtaev, 2013-11-13 10:05

Updated by Toshi MARUYAMA over 13 years ago Actions #1

  • Category set to SCM

Updated by Vadim Pushtaev about 13 years ago Actions #2

Looks like we just use global variable instead of local one:

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

Patch included.

Updated by Toshi MARUYAMA about 13 years ago Actions #3

  • Target version set to 2.4.0

Updated by Toshi MARUYAMA about 13 years ago Actions #4

  • Target version changed from 2.4.0 to 2.3.4

Updated by Toshi MARUYAMA about 13 years ago Actions #5

  • Status changed from Resolved to Closed
  • Resolution set to Fixed

Committed in trunk r12274, 2.3-stable r12275 and 2.4-stable r12276, thanks.

Actions

Also available in: PDF Atom