From c1abdc5b6b677fbfeaeeae7867502da9f8bd36e6 Mon Sep 17 00:00:00 2001 From: dev-polymer <161867770+dev-polymer@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:15:18 +0300 Subject: [PATCH] Updated dns/static/dns/dns.js --- dns/static/dns/dns.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dns/static/dns/dns.js b/dns/static/dns/dns.js index 18cc88645..78199a580 100755 --- a/dns/static/dns/dns.js +++ b/dns/static/dns/dns.js @@ -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 */ \ No newline at end of file +/* Java script code for CloudFlare */