Project

General

Profile

Actions

Defect #13348

closed

Repository tree can't handle two loading at once

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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
Actions #1

Updated by Toshi MARUYAMA over 11 years ago

  • Category set to SCM
Actions #2

Updated by Vadim Pushtaev about 11 years ago

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.

Actions #3

Updated by Toshi MARUYAMA about 11 years ago

  • Target version set to 2.4.0
Actions #4

Updated by Toshi MARUYAMA about 11 years ago

  • Target version changed from 2.4.0 to 2.3.4
Actions #5

Updated by Toshi MARUYAMA about 11 years ago

  • 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: Atom PDF