From 08c47f28f25e5299142242bb15c872ac84fc702b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 3 Mar 2009 22:19:46 +0000 Subject: Inline the admin view creation that was in helpers/local_import.php and remove it. Cleanup unused variables. Rename the method remove() to remove_path() --- modules/local_import/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/local_import/js') diff --git a/modules/local_import/js/admin.js b/modules/local_import/js/admin.js index e5ceb7cf..e7072127 100644 --- a/modules/local_import/js/admin.js +++ b/modules/local_import/js/admin.js @@ -36,7 +36,7 @@ function add_onclick() { $(".gRemoveDir").click(function() { var parent = $(this).parent(); $.post( - base_url + "admin/local_import/remove", + base_url + "admin/local_import/remove_path", {csrf: csrf, path: parent.text().replace(/^\s\s*/, "").replace(/\s\s*$/, "")}, function(data, textStatus) { -- cgit v1.2.3