]> source.dussan.org Git - redmine.git/commitdiff
Merged r12274 from trunk to 2.3-stable (#13348)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Nov 2013 10:14:37 +0000 (10:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Nov 2013 10:14:37 +0000 (10:14 +0000)
fix repository tree can't handle two loading at once.

Contributed by Vadim Pushtaev.

git-svn-id: http://svn.redmine.org/redmine/branches/2.3-stable@12275 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index e764240aa4b78c919ae152c1a47f9a065be8bd38..9a539d4eee3b12d28da3ac9e253bc7257712bf39 100644 (file)
@@ -407,7 +407,7 @@ function expandScmEntry(id) {
 }
 
 function scmEntryClick(id, url) {
-    el = $('#'+id);
+    var el = $('#'+id);
     if (el.hasClass('open')) {
         collapseScmEntry(id);
         el.addClass('collapsed');