mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
This commit is contained in:
@@ -886,6 +886,11 @@ app.controller('emailForwarding', function ($scope, $http) {
|
||||
|
||||
$scope.fetchCurrentForwardings = function () {
|
||||
|
||||
if($scope.forwardingOption == null || $scope.selectedEmail == null ){
|
||||
$scope.forwardLoading = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
$scope.creationBox = false;
|
||||
$scope.emailDetails = false;
|
||||
$scope.forwardLoading = false;
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<div ng-hide="emailDetails" class="form-group">
|
||||
<label class="col-sm-3 control-label">{% trans "Select Email" %} </label>
|
||||
<div class="col-sm-6">
|
||||
<select ng-model="selectedEmail" class="form-control">
|
||||
<select ng-change="selectForwardingEmail()" ng-model="selectedEmail" class="form-control">
|
||||
<option ng-repeat="email in emails track by $index">{$ email.email $}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -886,6 +886,11 @@ app.controller('emailForwarding', function ($scope, $http) {
|
||||
|
||||
$scope.fetchCurrentForwardings = function () {
|
||||
|
||||
if($scope.forwardingOption == null || $scope.selectedEmail == null ){
|
||||
$scope.forwardLoading = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
$scope.creationBox = false;
|
||||
$scope.emailDetails = false;
|
||||
$scope.forwardLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user