mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Destinations: Hide unrelated form elements on edit of Outbound Destination.
This commit is contained in:
@@ -884,6 +884,11 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo "<br><br>";
|
||||
echo "</form>";
|
||||
|
||||
//adjust form if outbound destination
|
||||
if ($destination_type == 'outbound') {
|
||||
echo "<script type='text/javascript'>type_control('outbound');</script>\n";
|
||||
}
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user