From 39a9699be0025d1640cf3d9ab5e4c6148f631a80 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 9 Jan 2011 04:26:32 +0100 Subject: Correct AJAX apeal --- static/js/ishtar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') diff --git a/static/js/ishtar.js b/static/js/ishtar.js index 94b13c4ae..8f3d88bcf 100644 --- a/static/js/ishtar.js +++ b/static/js/ishtar.js @@ -4,7 +4,7 @@ $(document).ready(function(){ var items = new Array('file'); for (idx in items){ $("#current_" + items[idx]).change(function(){ - $.post(url_path + '/update-current-item/', + $.post('/' + url_path + 'update-current-item/', {item:items[idx], value:$("#current_" + items[idx]).val()} ); }); -- cgit v1.2.3