Fix filemanager delete url path
This commit is contained in:
parent
3a9ca6c63d
commit
1c2e455129
|
@ -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();
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue