Vote #73489
完了Repository tree can't handle two loading at once
0%
説明
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.
journals
--------------------------------------------------------------------------------
Looks like we just use global variable instead of local one:
<pre>
function scmEntryClick(id, url) {
- el = $('#'+id);
+ var el = $('#'+id);
if (el.hasClass('open')) {
collapseScmEntry(id);
el.addClass('collapsed');
</pre>
Patch included.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed in trunk r12274, 2.3-stable r12275 and 2.4-stable r12276, thanks.
--------------------------------------------------------------------------------