Skip to content

Commit

Permalink
Use protocol-relative url for api call - wasn't working from https: #210
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed Jan 16, 2015
1 parent 217855e commit b7bae39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/event-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $(function() {
if(!location_id) { return; }
$.ajax({
type:'GET',
url: 'http://api.m.ox.ac.uk/places/' + location_id,
url: '//api.m.ox.ac.uk/places/' + location_id,
success: function(response) {
$('#id_event-department_organiser').trigger("eventGroupChanged", response);
},
Expand Down

0 comments on commit b7bae39

Please sign in to comment.