ups, wrong api url in js again

This commit is contained in:
Sanj 2012-02-20 19:01:44 +05:30
parent 8531eb53ec
commit de4ab219ce

View File

@ -12,7 +12,7 @@ $(function() {
} else {
$that.data("loaded", true);
var $list = $('#' + name + 'List');
var url = "/" + API_BASE + "/" + name;
var url = API_BASE + name;
$.post(url, {}, function(items) {
$.each(items, function(i,v) {
var $li = $('<li />')