FELIX-3770 Update to JQuery UI 1.9.2 and JQuery 1.8.3
  - Add a debug profile serving the non-minified versions of
    the JQuery libraries and CSS files for debugging purposes

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1416228 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/bundles.js b/webconsole/src/main/resources/res/ui/bundles.js
index 703b961..dac260a 100644
--- a/webconsole/src/main/resources/res/ui/bundles.js
+++ b/webconsole/src/main/resources/res/ui/bundles.js
@@ -298,9 +298,9 @@
 			5: { sorter: false }
 		},
 		textExtraction:mixedLinksExtraction
-	}).bind("sortEnd", function() {
-        var t = bundlesTable.eq(0).attr("config");
-        if (t.sortList) {
+	}).bind("sortEnd", function(/* Event */ e) {
+        var t = e.target.config;
+        if (t && t.sortList) {
             setCookie("bundlelist", t.sortList);
         }
     });