summaryrefslogtreecommitdiff
path: root/modules/local_import/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-03 22:19:46 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-03 22:19:46 +0000
commit08c47f28f25e5299142242bb15c872ac84fc702b (patch)
tree3dc0b60c70d8c3e11eb73e73b0dabbc619d85274 /modules/local_import/js
parent6596682c90f4df7f6edebea28246b80d762ce742 (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')
-rw-r--r--modules/local_import/js/admin.js2
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) {