[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 97418997d49cecf8154df06f91c5a0dfbed180ab
Evergreen Git
git at git.evergreen-ils.org
Tue Oct 1 16:36:34 EDT 2019
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, rel_3_3 has been updated
via 97418997d49cecf8154df06f91c5a0dfbed180ab (commit)
from 1b3867822b20dc5e7dd6ae7e90ed30d6b9c6ece2 (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 97418997d49cecf8154df06f91c5a0dfbed180ab
Author: Bill Erickson <berickxx at gmail.com>
Date: Wed May 23 11:13:16 2018 -0400
LP#1560805 Webstaff locale picker repair
Make the locale picker less finicky by replacing the search/replace
regex with a simple static URL for applying the locale.
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/web/js/ui/default/staff/services/navbar.js b/Open-ILS/web/js/ui/default/staff/services/navbar.js
index 2702fc05f0..b6ff1d31fe 100644
--- a/Open-ILS/web/js/ui/default/staff/services/navbar.js
+++ b/Open-ILS/web/js/ui/default/staff/services/navbar.js
@@ -66,11 +66,8 @@ angular.module('egCoreMod')
// URL, since it creates an intermediate path change.
// Instead, use the ham-fisted approach of killing any
// search args and applying the args we want.
- $window.location.href =
- $window.location.href.replace(
- /(\?|\&).*/,
- '?set_eg_locale=' + encodeURIComponent(locale)
- );
+ $window.location.href = egCore.env.basePath +
+ '?set_eg_locale=' + encodeURIComponent(locale);
}
$scope.changeOperatorUndo = function() {
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/js/ui/default/staff/services/navbar.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list