projects
/
Evergreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
started opac details page..
[Evergreen.git]
/
Open-ILS
/
web
/
opac
/
common
/
js
/
utils.js
diff --git
a/Open-ILS/web/opac/common/js/utils.js
b/Open-ILS/web/opac/common/js/utils.js
index
0956d7e
..
f5f9ab6
100644
(file)
--- a/
Open-ILS/web/opac/common/js/utils.js
+++ b/
Open-ILS/web/opac/common/js/utils.js
@@
-268,6
+268,13
@@
function scaleFonts(type) {
}
+function sortWordsIgnoreCase(a, b) {
+ a = a.toLowerCase();
+ b = b.toLowerCase();
+ if(a>b) return 1;
+ if(a<b) return -1;
+ return 0;
+}