Commit aa824458b7dbb2f2101b3bbadbfe9fd2e419354d
1 parent
d176257df1
Exists in
master
and in
1 other branch
Сетевые пути для удаления записей
Showing 5 changed files with 3 additions and 4 deletions Side-by-side Diff
html/public.rar
No preview for this file type
resources/views/admin/ad_employers/index_ajax.blade.php
resources/views/admin/education/index.blade.php
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | console.log('click button'); |
9 | 9 | let id = e.target.id; |
10 | 10 | let form = document.getElementById("form_modal_del"); |
11 | - form.action = "<?=$_SERVER['APP_URL']?>public/admin/education/"+e.target.getAttribute('data-education'); | |
11 | + form.action = "<?=$_SERVER['APP_URL']?>admin/education/"+e.target.getAttribute('data-education'); | |
12 | 12 | //document.getElementById("title_modal").innerHTML = id; |
13 | 13 | console.log(e.target.getAttribute('data-education')); |
14 | 14 | }); |
resources/views/admin/employer/index.blade.php
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | console.log('click button'); |
44 | 44 | let id = e.target.id; |
45 | 45 | let form = document.getElementById("form_modal_del"); |
46 | - form.action = "<?=$_SERVER['APP_URL']?>public/admin/employers/delete/"+e.target.getAttribute('data-employer')+'/'+e.target.getAttribute('data-user'); | |
46 | + form.action = "<?=$_SERVER['APP_URL']?>admin/employers/delete/"+e.target.getAttribute('data-employer')+'/'+e.target.getAttribute('data-user'); | |
47 | 47 | //document.getElementById("title_modal").innerHTML = id; |
48 | 48 | console.log(e.target.getAttribute('data-employer')); |
49 | 49 | console.log(e.target.getAttribute('data-user')); |
resources/views/admin/users/index_bd.blade.php
... | ... | @@ -48,7 +48,7 @@ |
48 | 48 | console.log('click button'); |
49 | 49 | let id = e.target.id; |
50 | 50 | let form = document.getElementById("form_modal_del"); |
51 | - form.action = "<?=$_SERVER['APP_URL']?>public/admin/basedata/delete/"+e.target.getAttribute('data-user'); | |
51 | + form.action = "<?=$_SERVER['APP_URL']?>admin/basedata/delete/"+e.target.getAttribute('data-user'); | |
52 | 52 | //document.getElementById("title_modal").innerHTML = id; |
53 | 53 | console.log(e.target.getAttribute('data-employer')); |
54 | 54 | console.log(e.target.getAttribute('data-user')); |