Merge pull request #1321 from daveadams/b-safari-ui-403

Fix #1316: Safari 403 error on k/v page of web UI
pull/1327/head
Ryan Breen 9 years ago
commit b1a335d991

@ -379,6 +379,9 @@ App.SettingsRoute = App.BaseRoute.extend({
// Adds any global parameters we need to set to a url/path // Adds any global parameters we need to set to a url/path
function formatUrl(url, dc, token) { function formatUrl(url, dc, token) {
if (token == null) {
token = "";
}
if (url.indexOf("?") > 0) { if (url.indexOf("?") > 0) {
// If our url has existing params // If our url has existing params
url = url + "&dc=" + dc; url = url + "&dc=" + dc;

Loading…
Cancel
Save