From de4ab219ce89425bdb92c13180e3f8d5212a2a9f Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 20 Feb 2012 19:01:44 +0530 Subject: [PATCH] ups, wrong api url in js again --- chaloBEST/static/js/editstops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/static/js/editstops.js b/chaloBEST/static/js/editstops.js index 8274ddc..ed2a0b0 100644 --- a/chaloBEST/static/js/editstops.js +++ b/chaloBEST/static/js/editstops.js @@ -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 = $('
  • ')