corrections
This commit is contained in:
@@ -437,7 +437,7 @@ class TicketController extends Controller
|
|||||||
|
|
||||||
return response()->json(compact('result'));
|
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'));
|
return response()->json(compact('result'));
|
||||||
}
|
}
|
||||||
|
@@ -1824,20 +1824,18 @@ if ($thread->title != "") {
|
|||||||
$("#t1").hide();
|
$("#t1").hide();
|
||||||
$("#show3").show();
|
$("#show3").show();
|
||||||
$('html, body').animate({
|
$('html, body').animate({
|
||||||
scrollTop: $("#form3").offset().top
|
scrollTop: $("#inboxactions").offset().top
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
location.reload();
|
location.reload();
|
||||||
$("#alert21").show();
|
|
||||||
|
|
||||||
$('#message-success2').html(json.result.success);
|
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
$("#alert21").show();
|
||||||
$('html, body').animate({ scrollTop: $("#inboxactions").offset().top }, 500);
|
$('#message-success2').html(json.result.success);
|
||||||
|
//$('html, body').animate({ scrollTop: $("#inboxactions").offset().top }, 500);
|
||||||
},
|
},
|
||||||
|
|
||||||
error: function(json) {
|
error: function(json) {
|
||||||
|
Reference in New Issue
Block a user