ups, request is GET

This commit is contained in:
Sanj 2012-02-20 19:04:29 +05:30
parent f967fa184b
commit 0d051bcbb7

View File

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