Fix filemanager delete url path

This commit is contained in:
Manson Wang 2013-10-23 10:42:54 +08:00
parent 0a69bbb653
commit 52fa11a429
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ $(document).ready(function(){
$("input[type=checkbox]:checked").each(function(){ $("input[type=checkbox]:checked").each(function(){
items_to_delete.push($(this).val()); items_to_delete.push($(this).val());
}) })
$.post("<%= delete_files_admin_assets_path %>",{"files":items_to_delete,"type":type},function(){ $.post("/admin/assets/delete_files",{"files":items_to_delete,"type":type},function(){
deleteBtn.hide(); deleteBtn.hide();
}) })
}) })