Merge pull request #7345 from jdfreder/kernel-order

Display kernels in alphabetical order.
This commit is contained in:
Min RK 2014-12-29 17:51:48 -08:00
commit b61a9cd738

View File

@ -52,7 +52,11 @@ define([
return -1;
}
});
for (var i = 0; i < keys.length; i++) {
// Create the kernel list in reverse order because
// the .after insertion causes each item to be added
// to the top of the list.
for (var i = keys.length - 1; i >= 0; i--) {
var ks = this.kernelspecs[keys[i]];
var li = $("<li>")
.attr("id", "kernel-" +ks.name)