Use OAuth for notes API calls and require authentication to close

This commit is contained in:
Tom Hughes 2013-03-28 00:34:23 +00:00
parent e8d32637c1
commit 38255f9f8d
4 changed files with 7 additions and 2 deletions

View file

@ -171,6 +171,7 @@ $(document).ready(function () {
$.ajax({
url: url,
type: "POST",
oauth: true,
data: {
lat: location.lat,
lon: location.lng,
@ -191,6 +192,7 @@ $(document).ready(function () {
$.ajax({
url: url,
type: "POST",
oauth: true,
data: {
text: $(form.text).val()
},