diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-04-26 17:43:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-04-26 17:43:56 +0100 |
commit | 823a89616d40ebaaf769bff155f88c1e37dd1d00 (patch) | |
tree | ba06b1d9c9b18c44dee21db9e85b38b5898a474a /www/js/locate.js | |
parent | 3eaca677cb5fe6bdab674339b42027bcc2102751 (diff) |
Specify that FMS_URL should not have an end slash.
This way round is better in case of URLs returned from the server (e.g.
for photos) that will have a starting slash.
Diffstat (limited to 'www/js/locate.js')
-rw-r--r-- | www/js/locate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/locate.js b/www/js/locate.js index 97beece..b589ddf 100644 --- a/www/js/locate.js +++ b/www/js/locate.js @@ -108,7 +108,7 @@ } var that = this; $.ajax( { - url: CONFIG.FMS_URL + 'report/new/ajax', + url: CONFIG.FMS_URL + '/report/new/ajax', global: showSpinner, dataType: 'json', data: { |