argh, append slash to url
This commit is contained in:
parent
de4ab219ce
commit
f967fa184b
|
@ -12,7 +12,7 @@ $(function() {
|
||||||
} else {
|
} else {
|
||||||
$that.data("loaded", true);
|
$that.data("loaded", true);
|
||||||
var $list = $('#' + name + 'List');
|
var $list = $('#' + name + 'List');
|
||||||
var url = API_BASE + name;
|
var url = API_BASE + name + "/";
|
||||||
$.post(url, {}, function(items) {
|
$.post(url, {}, function(items) {
|
||||||
$.each(items, function(i,v) {
|
$.each(items, function(i,v) {
|
||||||
var $li = $('<li />')
|
var $li = $('<li />')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user