argh, append slash to url

This commit is contained in:
Sanj 2012-02-20 19:02:41 +05:30
parent de4ab219ce
commit f967fa184b

View File

@ -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 />')