Geo location error handler #1

Merged
merged 1 commit into from Apr 26, 2011
View
@@ -0,0 +1 @@
+.idea
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -43,6 +43,8 @@ run(function () {
path += location + "&sensor=false";
x$('img#static_map').attr('src', path);
+ }, function () {
+ x$('img#static_map').attr('src', "assets/img/gpsfailed.png");
});
});
});