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

Fix #1316: Safari 403 error on k/v page of web UI
This commit is contained in:
Ryan Breen 2015-10-19 23:29:11 -04:00
commit a24b2f2007
1 changed files with 3 additions and 0 deletions

View File

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