Skip to content

Commit 8dae790

Browse files
committed
Updated success_ajax_callback() signature to pass to it the response object
1 parent 2251cce commit 8dae790

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Views/shared/common.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@section('footer')
1414
<script type="text/javascript">
1515
16-
function success_ajax_callback() {
16+
function success_ajax_callback(response) {
1717
// You may define a specific callback in any form to do additional actions on success
1818
}
1919
@@ -96,7 +96,7 @@ function ajax_form_submit(_this)
9696
}
9797
9898
// Custom version in search form own script
99-
success_ajax_callback();
99+
success_ajax_callback(response);
100100
}
101101
}
102102
});

0 commit comments

Comments
 (0)