corrections

This commit is contained in:
KNaveenraj-ladybird
2023-09-12 14:10:43 +05:30
parent 492fbe1118
commit a262dd2989
2 changed files with 5 additions and 7 deletions

View File

@@ -437,7 +437,7 @@ class TicketController extends Controller
return response()->json(compact('result'));
}
$result = ['success' => 'Replied successfully'];
$result = ['success' => Lang::get('lang.you_have_successfully_replied_to_your_ticket')];
return response()->json(compact('result'));
}

View File

@@ -1824,20 +1824,18 @@ if ($thread->title != "") {
$("#t1").hide();
$("#show3").show();
$('html, body').animate({
scrollTop: $("#form3").offset().top
scrollTop: $("#inboxactions").offset().top
}, 500);
},
success: function(json) {
setTimeout(function () {
location.reload();
$("#alert21").show();
$('#message-success2').html(json.result.success);
}, 1000);
$('html, body').animate({ scrollTop: $("#inboxactions").offset().top }, 500);
$("#alert21").show();
$('#message-success2').html(json.result.success);
//$('html, body').animate({ scrollTop: $("#inboxactions").offset().top }, 500);
},
error: function(json) {