Florian Schaal
2014-10-30 21cdaaaa73d0c73869a6463f179ff47364260b7c
fixed template and query in mail_domain_dkim.js
2 files modified
4 ■■■■ changed files
interface/web/js/mail_domain_dkim.js 2 ●●● patch | view | raw | blame | history
interface/web/mail/templates/mail_domain_edit.htm 2 ●●● patch | view | raw | blame | history
interface/web/js/mail_domain_dkim.js
@@ -66,7 +66,7 @@
        }
        var selector=jQuery('#dkim_selector').val();
        var publickey=jQuery('#dkim_public').val();
        var privatekey=jQuery('#dkim_private').val();
        var privatekey=encodeURIComponent(document.getElementById("dkim_private").value)
        request.open('POST', 'mail/mail_domain_dkim_create.php', true);
        request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
        request.send('domain='+domain+'&action='+action+'&dkim_selector='+selector+'&dkim_public='+publickey+'&dkim_private='+privatekey);
interface/web/mail/templates/mail_domain_edit.htm
@@ -82,12 +82,12 @@
                    {tmpl_var name='active'}
                </div>
            </div>
            <div class="subsectiontoggle"><span></span>{tmpl_var name='dkim_settings_txt'}<em></em></div>
            <tmpl_if name="domain_module">
                <input type="hidden" name="domain_module" value="1" id="domain_module" />
            <tmpl_else>
                <input type="hidden" name="domain_module" value="0" id="domain_module" />
            </tmpl_if>
            <div class="subsectiontoggle"><span></span>{tmpl_var name='dkim_settings_txt'}<em></em></div>
            <div style="display:none;">
              <div class="ctrlHolder">
                <p class="label">{tmpl_var name='dkim_txt'}</p>