Skip to content

Commit

Permalink
Nope, still not quite right
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ransom committed Mar 1, 2012
1 parent abd8ff4 commit e8792e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store_locator/models.py
Expand Up @@ -85,7 +85,7 @@ def get_single_line_address(self):
('25', '25 Miles'), ('25', '25 Miles'),
('50', '50 Miles'), ('50', '50 Miles'),
('100', '100 Miles'), ('100', '100 Miles'),
('500', '100 Miles'), ('500', '500 Miles'),
) )


class StoreLocator(CMSPlugin): class StoreLocator(CMSPlugin):
Expand Down
2 changes: 1 addition & 1 deletion store_locator/static/store_locator/js/store_locator_map.js
Expand Up @@ -41,7 +41,7 @@ function location_search() {
var distance = $("#distance_field").val(); var distance = $("#distance_field").val();
var new_zoom = zoom_list[distance]; var new_zoom = zoom_list[distance];
if (new_zoom == undefined) { if (new_zoom == undefined) {
new_zoom = starting_zoom; new_zoom = zoom_list[starting_zoom];
} }
$.get(get_lat_long_url + "?q=" + search_value, function(data) { $.get(get_lat_long_url + "?q=" + search_value, function(data) {
var latitude = data.split(',')[2]; var latitude = data.split(',')[2];
Expand Down

0 comments on commit e8792e3

Please sign in to comment.