Commit aa824458b7dbb2f2101b3bbadbfe9fd2e419354d

Authored by Андрей Ларионов
1 parent d176257df1

Сетевые пути для удаления записей

Showing 5 changed files with 3 additions and 4 deletions Side-by-side Diff

No preview for this file type
resources/views/admin/ad_employers/index_ajax.blade.php
... ... @@ -108,7 +108,6 @@
108 108 </p>
109 109 </div>
110 110 </div>
111   -
112 111 </td>
113 112  
114 113 <td class="px-4 py-3 text-sm class10 text-xs">
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'));