From 300af228592c9ae38530a1b4cde3486592141059 Mon Sep 17 00:00:00 2001 From: toxicvengeance Date: Wed, 10 May 2017 22:33:44 +0200 Subject: [PATCH] added caa record helper --- app/templates/domain.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/domain.html b/app/templates/domain.html index 36d6ae9..af560a7 100644 --- a/app/templates/domain.html +++ b/app/templates/domain.html @@ -290,10 +290,11 @@ caa_flag = modal.find('#caa_flag').val(); caa_tag = modal.find('#caa_tag').val(); caa_value = modal.find('#caa_value').val(); - data = caa_flag + " " + caa_tag + " " + caa_value; + data = caa_flag + " " + caa_tag + " " + '"' + caa_value + '"'; record_data.val(data); modal.modal('hide'); }) + modal.modal('show'); } else if (record_type == "MX") { var modal = $("#modal_custom_record"); if (record_data.val() == "") {