Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing update on modal save inside trunks -> physical #194

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions wizard/app/scripts/controllers/trunks/physical.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ angular.module('nethvoiceWizardUiApp')
}
DeviceService.saveGatewayConfig(device).then(function (res) {
$scope.hideGatewayDialog();
$scope.getGatewayList('eth-fake', 'fake-network');
device.id = res.data.id
if (isNew) {
$scope.allDevices[device.network_key].push(device);
Expand Down
8 changes: 4 additions & 4 deletions wizard/app/views/configurations/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ <h1 class="control-label centered" for="textInput-markup">{{'Users Configuration
</div>
<div class="modal-body">
<ul class="modalListConfiguration">
<li class="listConfiguration"><b>{{"Indirizzo Centralino" | translate}}:</b> {{hostname}}</li>
<li class="listConfiguration"><b>{{"Configurare porta 5061" | translate}}</b> </li>
<li class="listConfiguration"><b>{{"Abilitare trasporto TLS" | translate}}</b></li>
<li class="listConfiguration"><b>{{"Configurare audio sicuro SRTP" | translate}}</b></li>
<li class="listConfiguration"><b>{{"PBX address" | translate}}:</b> {{hostname}}</li>
<li class="listConfiguration"><b>{{"Configure port 5061" | translate}}</b> </li>
<li class="listConfiguration"><b>{{"Enable TLS transport" | translate}}</b></li>
<li class="listConfiguration"><b>{{"Configure SRTP Secure Audio" | translate}}</b></li>
<li class="listConfiguration"><b>{{"default_extension" | translate}}:</b> {{deviceExtension}}</li>
<li class="listConfiguration" id="showPassword" data-content="{{passwordExtension}}"><b>{{"Password" | translate}}:</b> {{passwordExtension}}
<clipboard-copy class="pficon-blueprint" value="{{passwordExtension}}" ng-click="copyPassword()"
Expand Down
4 changes: 2 additions & 2 deletions wizard/app/views/trunks/physical.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h1 class="control-label config-title-user" for="textInput-markup">
</div>
</div>

<div class="form-group">
<div class="form-group ng-hide">
<label class="col-sm-3 control-label">{{'Proxy address' | translate}}</label>
<div class="col-sm-9">
<input type="text" ng-model="selectedDevice.proxy" class="form-control" ng-disabled="selectedDevice.isConfigured">
Expand Down Expand Up @@ -283,7 +283,7 @@ <h4 class="modal-title">{{'New Gateway' | translate}}</h4>
</div>
</div>

<div class="form-group">
<div class="form-group ng-hide">
<label class="col-sm-3 control-label">{{'Proxy address' | translate}}</label>
<div class="col-sm-9">
<input type="text" ng-model="newGateway.proxy" class="form-control">
Expand Down
Loading