change
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<div class="widget-content widget-content-area br-8 position-btn p-0">
|
||||
<div class="view-details">
|
||||
<div class="simple-tab">
|
||||
@csrf
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel"
|
||||
aria-labelledby="home-tab" tabindex="0">
|
||||
@@ -93,16 +93,6 @@
|
||||
</div>
|
||||
@endsection
|
||||
@section('section_script')
|
||||
<!-- <script>
|
||||
var quill = new Quill('#terms-quill-edit', {
|
||||
theme: 'snow'
|
||||
});
|
||||
</script> -->
|
||||
{{-- <script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/jquery.validate.min.js"></script>
|
||||
<script src="{{ asset('public/assets/js/admin/manage_cms/manage_terms_cond/manage_terms_condition.js')}}"></script> --}}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
// Initialize Quill editors
|
||||
@@ -175,6 +165,7 @@
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: base_url + '/update_rules',
|
||||
type: 'POST',
|
||||
@@ -182,13 +173,14 @@
|
||||
processData: false,
|
||||
contentType: false,
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
if (response.status == 200) {
|
||||
toastr.success(
|
||||
'Rules Data Updated Successfully');
|
||||
setTimeout(function() {
|
||||
{{-- setTimeout(function() {
|
||||
window.location.href = base_url +
|
||||
"/manage_rules";
|
||||
}, 1000);
|
||||
}, 1000); --}}
|
||||
} else {
|
||||
toastr.error("Something went wrong");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user