diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 22:19:46 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 22:19:46 +0000 |
commit | 08c47f28f25e5299142242bb15c872ac84fc702b (patch) | |
tree | 3dc0b60c70d8c3e11eb73e73b0dabbc619d85274 /modules/local_import/js/admin.js | |
parent | 6596682c90f4df7f6edebea28246b80d762ce742 (diff) |
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()
Diffstat (limited to 'modules/local_import/js/admin.js')
-rw-r--r-- | modules/local_import/js/admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |