From 07392a64d8425c7740d5a1ebbd5ea2c62b5ccc95 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 27 Nov 2023 11:27:37 -0700 Subject: [PATCH] Update Call Forward back button Use history.back for the back button --- app/call_forward/call_forward_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_forward/call_forward_edit.php b/app/call_forward/call_forward_edit.php index 20cbd4d715..119ede042a 100644 --- a/app/call_forward/call_forward_edit.php +++ b/app/call_forward/call_forward_edit.php @@ -548,7 +548,7 @@ echo "
\n"; echo "
".$text['title-call_forward']."
\n"; echo "
\n"; - echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','link'=>'call_forward.php']); + echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','onclick'=>'history.back();']); echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','style'=>'margin-left: 15px;']); echo "
\n"; echo "
\n";