From d3b7337305dada3706495f1b9a1610faebbe697b Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 5 Oct 2021 18:48:15 +0200 Subject: [PATCH] Revert "TT#134254 change fax destination email field type" This reverts commit 7e6c05f097faceeb05fc8af21c745b74b9ede1e9. Change-Id: I65793f35d35a7119725f3840d302c37ddc0af587 (cherry picked from commit b5cedff911ea9f2c7995a1920850f235b696ef0d) --- lib/NGCP/Panel/Form/Faxserver/API.pm | 2 +- lib/NGCP/Panel/Form/Faxserver/Destination.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Form/Faxserver/API.pm b/lib/NGCP/Panel/Form/Faxserver/API.pm index 03f72260da..8d9af49317 100644 --- a/lib/NGCP/Panel/Form/Faxserver/API.pm +++ b/lib/NGCP/Panel/Form/Faxserver/API.pm @@ -43,7 +43,7 @@ has_field 'destinations' => ( ); has_field 'destinations.destination' => ( - type => 'Text', + type => 'Email', label => 'Destination Email', required => 1, ); diff --git a/lib/NGCP/Panel/Form/Faxserver/Destination.pm b/lib/NGCP/Panel/Form/Faxserver/Destination.pm index cfabbac69e..d263ea471f 100644 --- a/lib/NGCP/Panel/Form/Faxserver/Destination.pm +++ b/lib/NGCP/Panel/Form/Faxserver/Destination.pm @@ -28,7 +28,7 @@ has_field 'destination.id' => ( ); has_field 'destination.destination' => ( - type => 'Text', + type => 'Email', label => 'Destination Email', required => 1, wrapper_class => [qw/hfh-rep-field/],