Aaron Parecki
8 years ago
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
2 additions and
2 deletions
-
views/review.php
|
@ -211,7 +211,7 @@ $(function(){ |
|
|
|
|
|
|
|
|
var review = { |
|
|
var review = { |
|
|
item: [{ |
|
|
item: [{ |
|
|
type: "h-product", |
|
|
|
|
|
|
|
|
type: ["h-product"], |
|
|
properties: { |
|
|
properties: { |
|
|
name: [$("#item_name").val()], |
|
|
name: [$("#item_name").val()], |
|
|
url: [$("#item_url").val()] |
|
|
url: [$("#item_url").val()] |
|
@ -232,7 +232,7 @@ $(function(){ |
|
|
|
|
|
|
|
|
$.post("/micropub/postjson", { |
|
|
$.post("/micropub/postjson", { |
|
|
data: JSON.stringify({ |
|
|
data: JSON.stringify({ |
|
|
"type": "h-review", |
|
|
|
|
|
|
|
|
"type": ["h-review"], |
|
|
"properties": review |
|
|
"properties": review |
|
|
}) |
|
|
}) |
|
|
}, function(response){ |
|
|
}, function(response){ |
|
|