aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJenkins CI <ci@sonarsource.com>2014-11-11 08:01:42 +0100
committerJenkins CI <ci@sonarsource.com>2014-11-11 08:01:42 +0100
commit0a18ca0ebee9f1fd6b07102c1c71aea7182e276a (patch)
treee9300f3b115998bf6d2468a358eaba1e753b22fc /server
parent7221b16c666ac165533675b5fda5fb6429f82238 (diff)
parent026c457acb406908289718ac78ff41be8b58e391 (diff)
downloadsonarqube-0a18ca0ebee9f1fd6b07102c1c71aea7182e276a.tar.gz
sonarqube-0a18ca0ebee9f1fd6b07102c1c71aea7182e276a.zip
Automatic merge from branch-4.5
* origin/branch-4.5: SONAR-5610 Fix chrome freezes on the components page
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/sortable.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/sortable.js b/server/sonar-web/src/main/js/sortable.js
index edc48d12190..487165ae22b 100644
--- a/server/sonar-web/src/main/js/sortable.js
+++ b/server/sonar-web/src/main/js/sortable.js
@@ -28,14 +28,12 @@
});
rows.detach();
- var newRows = jQuery();
sortArray.forEach(function(a) {
- var row = rows.eq(a.index);
- row.appendTo(container);
- newRows = newRows.add(row);
+ var row = rows[a.index];
+ container.append(row);
});
- stripe(newRows);
+ stripe(container.find('tr'));
}