From: Michael M Slusarz
Date: Mon, 15 Nov 2010 23:24:33 +0000 (-0700)
Subject: Bug #9387: Fix UI to allow upload of personal S/MIME cert
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6e0689f1744fca73ec226af1bf96f1d335241b5b;p=horde.git
Bug #9387: Fix UI to allow upload of personal S/MIME cert
---
diff --git a/imp/lib/Prefs/Ui.php b/imp/lib/Prefs/Ui.php
index 55d50c885..c09ba3821 100644
--- a/imp/lib/Prefs/Ui.php
+++ b/imp/lib/Prefs/Ui.php
@@ -1521,7 +1521,7 @@ class IMP_Prefs_Ui
$t->set('import-cert-help', Horde_Help::link('imp', 'smime-import-personal-certs'));
Horde::addInlineScript(array(
- '$("import_smime_personal").observe("click", function(e) { ' . Horde::popupJs($smime_url, array('params' => array('actionID' => 'import_personal_public_key', 'reload' => $GLOBALS['session']->store($ui->selfUrl()->setRaw(true), false)), 'height' => 275, 'width' => 750, 'urlencode' => true)) . '; e.stop(); })'
+ '$("import_smime_personal").observe("click", function(e) { ' . Horde::popupJs($smime_url, array('params' => array('actionID' => 'import_personal_certs', 'reload' => $GLOBALS['session']->store($ui->selfUrl()->setRaw(true), false)), 'height' => 275, 'width' => 750, 'urlencode' => true)) . '; e.stop(); })'
), 'dom');
}
}
diff --git a/imp/templates/prefs/smimeprivatekey.html b/imp/templates/prefs/smimeprivatekey.html
index 99e23a801..569943e67 100644
--- a/imp/templates/prefs/smimeprivatekey.html
+++ b/imp/templates/prefs/smimeprivatekey.html
@@ -35,14 +35,12 @@
-
-