@@ -93,7 +93,7 @@ class AjaxController extends Controller
});
}
return response(
- ['msg'=>'Your login permission successfully updated.']
+ ['msg'=>'Successfully updated.']
);
}elseif($name=="set_country"){
@@ -122,7 +122,11 @@
$.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
pop_up_msg(res.msg);
- window.location.reload();
+ //window.location.reload();
+ fetch_sub_content(
+ '#pending_teacher_load',
+ "{{ route('sub-content', ['name'=>'register_pending_teacher_load']) }}"
+ );
}).fail(function(error){