Fix filemanager delete url path
This commit is contained in:
parent
0a69bbb653
commit
52fa11a429
|
@ -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