Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

integrate server and ajax getPointInformation

  • Loading branch information...
commit 02fac8c663435aafdda3aec9912c72b92becfd1e 1 parent 5e3c669
@andrewsmedina andrewsmedina authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 wifimap/media/js/spots.js
View
9 wifimap/media/js/spots.js
@@ -12,7 +12,14 @@ var SpotManager = {
});
},
getPointInformation: function(id) {
-
+ $.ajax({
+ url: '/spots/' + id + '.json',
+ method: 'GET',
+ dataType: 'json',
+ success: function(data){
+ return data;
+ }
+ });
},
listSpots: function() {
var self = this;
Please sign in to comment.
Something went wrong with that request. Please try again.