[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2c76b1269c1880356ec2327a59007338091fa617
Evergreen Git
git at git.evergreen-ils.org
Thu Oct 11 13:24:41 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 2c76b1269c1880356ec2327a59007338091fa617 (commit)
from 7335cbf58a7941f77a1bba5ab071aeaeff36daf0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2c76b1269c1880356ec2327a59007338091fa617
Author: Jason Etheridge <jason at esilibrary.com>
Date: Thu Oct 11 12:35:58 2012 -0400
sort hostnames listed in login window
for those of us with a lot of hosts to deal with :)
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Signed-off-by: Michael Peters <mrpeters at library.in.gov>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
index 071fc66..d437a7a 100644
--- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
+++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
@@ -147,10 +147,15 @@ auth.controller.prototype = {
['render'],
function(e) {
return function() {
+ var list = [];
for (var s in obj.data.ws_info) {
+ list.push(s);
+ }
+ list.sort();
+ for (var i = 0; i < list.length; i++) {
var mi = document.createElement('menuitem');
- mi.setAttribute('label',s);
- mi.setAttribute('value',s);
+ mi.setAttribute('label',list[i]);
+ mi.setAttribute('value',list[i]);
e.appendChild(mi);
}
};
-----------------------------------------------------------------------
Summary of changes:
.../staff_client/chrome/content/auth/controller.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list