]> source.dussan.org Git - redmine.git/commitdiff
fix repository tree can't handle two loading at once (#13348)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Nov 2013 09:42:13 +0000 (09:42 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Nov 2013 09:42:13 +0000 (09:42 +0000)
Contributed by Vadim Pushtaev.

git-svn-id: http://svn.redmine.org/redmine/trunk@12274 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index 4ffef12f337cf08ff6856c24746e839b19ab2cc8..25588673105280f80379ac2e005130d6512eca11 100644 (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');