[Rt-commit] rt branch, 5.0/self-service-autocomplete-users-path, created. rt-5.0.1-237-g0191eb6493
? sunnavy
sunnavy at bestpractical.com
Wed Apr 21 15:00:51 EDT 2021
The branch, 5.0/self-service-autocomplete-users-path has been created
at 0191eb6493b34c13906901a6d2f6f303ee7654ed (commit)
- Log -----------------------------------------------------------------
commit 0191eb6493b34c13906901a6d2f6f303ee7654ed
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Apr 22 02:56:00 2021 +0800
URL of user autocomplete for unprivileged users should be below /SelfService
As unprivileged users don't have right to access ^/Helpers/...
diff --git a/share/static/js/autocomplete.js b/share/static/js/autocomplete.js
index 7413c4bf81..fffefddb7c 100644
--- a/share/static/js/autocomplete.js
+++ b/share/static/js/autocomplete.js
@@ -94,7 +94,7 @@ window.RT.Autocomplete.bind = function(from) {
load: function(input, callback) {
if (!input.length) return callback();
jQuery.ajax({
- url: RT.Config.WebPath + '/Helpers/Autocomplete/Users',
+ url: RT.Config.WebHomePath + '/Helpers/Autocomplete/Users',
type: 'GET',
dataType: 'json',
data: {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list