mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-21 21:19:18 -04:00
Fix /item -> /items to conform to new REST api.
This commit is contained in:
@@ -5,7 +5,7 @@ $(document).ready(function() {
|
||||
return function(value, settings) {
|
||||
var post_data = {'__return': settings.name};
|
||||
post_data[settings.name] = value;
|
||||
$.post("<?= url::site("item/__ID__") ?>".replace("__ID__", id),
|
||||
$.post("<?= url::site("items/__ID__") ?>".replace("__ID__", id),
|
||||
post_data,
|
||||
function(data, textStatus) {
|
||||
if (textStatus == "success") {
|
||||
|
||||
Reference in New Issue
Block a user