mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-21 06:52:06 +01:00
Updated dns/static/dns/dns.js
This commit is contained in:
@@ -170,6 +170,7 @@ app.controller('addModifyDNSRecords', function ($scope, $http) {
|
||||
// Hide records boxes
|
||||
$(".aaaaRecord").hide();
|
||||
$(".cNameRecord").hide();
|
||||
$(".httpsRecord").hide();
|
||||
$(".mxRecord").hide();
|
||||
$(".txtRecord").hide();
|
||||
$(".spfRecord").hide();
|
||||
@@ -239,6 +240,12 @@ app.controller('addModifyDNSRecords', function ($scope, $http) {
|
||||
data.recordContentCNAME = $scope.recordContentCNAME;
|
||||
data.ttl = $scope.ttl;
|
||||
data.recordType = type;
|
||||
} else if (type === "HTTPS") {
|
||||
data.selectedZone = $scope.selectedZone;
|
||||
data.recordName = $scope.recordName;
|
||||
data.recordContentHTTPS = $scope.recordContentHTTPS;
|
||||
data.ttl = $scope.ttl;
|
||||
data.recordType = type;
|
||||
} else if (type === "SPF") {
|
||||
data.selectedZone = $scope.selectedZone;
|
||||
data.recordName = $scope.recordName;
|
||||
@@ -815,6 +822,7 @@ app.controller('addModifyDNSRecordsCloudFlare', function ($scope, $http, $window
|
||||
// Hide records boxes
|
||||
$(".aaaaRecord").hide();
|
||||
$(".cNameRecord").hide();
|
||||
$(".httpsRecord").hide();
|
||||
$(".mxRecord").hide();
|
||||
$(".txtRecord").hide();
|
||||
$(".spfRecord").hide();
|
||||
@@ -883,6 +891,12 @@ app.controller('addModifyDNSRecordsCloudFlare', function ($scope, $http, $window
|
||||
data.recordContentCNAME = $scope.recordContentCNAME;
|
||||
data.ttl = $scope.ttl;
|
||||
data.recordType = type;
|
||||
} else if (type === "HTTPS") {
|
||||
data.selectedZone = $scope.selectedZone;
|
||||
data.recordName = $scope.recordName;
|
||||
data.recordContentHTTPS = $scope.recordContentHTTPS;
|
||||
data.ttl = $scope.ttl;
|
||||
data.recordType = type;
|
||||
} else if (type === "SPF") {
|
||||
data.selectedZone = $scope.selectedZone;
|
||||
data.recordName = $scope.recordName;
|
||||
@@ -1308,4 +1322,4 @@ app.controller('addModifyDNSRecordsCloudFlare', function ($scope, $http, $window
|
||||
|
||||
});
|
||||
|
||||
/* Java script code for CloudFlare */
|
||||
/* Java script code for CloudFlare */
|
||||
|
||||
Reference in New Issue
Block a user