Skip to content

Commit 21cdaaa

Browse files
author
Florian Schaal
committed
fixed template and query in mail_domain_dkim.js
1 parent 872f64b commit 21cdaaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/js/mail_domain_dkim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function setRequest(action) {
6666
}
6767
var selector=jQuery('#dkim_selector').val();
6868
var publickey=jQuery('#dkim_public').val();
69-
var privatekey=jQuery('#dkim_private').val();
69+
var privatekey=encodeURIComponent(document.getElementById("dkim_private").value)
7070
request.open('POST', 'mail/mail_domain_dkim_create.php', true);
7171
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
7272
request.send('domain='+domain+'&action='+action+'&dkim_selector='+selector+'&dkim_public='+publickey+'&dkim_private='+privatekey);

interface/web/mail/templates/mail_domain_edit.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ <h2><tmpl_var name="list_head_txt"></h2>
8282
{tmpl_var name='active'}
8383
</div>
8484
</div>
85-
<div class="subsectiontoggle"><span></span>{tmpl_var name='dkim_settings_txt'}<em></em></div>
8685
<tmpl_if name="domain_module">
8786
<input type="hidden" name="domain_module" value="1" id="domain_module" />
8887
<tmpl_else>
8988
<input type="hidden" name="domain_module" value="0" id="domain_module" />
9089
</tmpl_if>
90+
<div class="subsectiontoggle"><span></span>{tmpl_var name='dkim_settings_txt'}<em></em></div>
9191
<div style="display:none;">
9292
<div class="ctrlHolder">
9393
<p class="label">{tmpl_var name='dkim_txt'}</p>

0 commit comments

Comments
 (0)