From: Michael M Slusarz Date: Thu, 29 Jul 2010 22:14:51 +0000 (-0600) Subject: This code needs to run on dom:loaded X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=39a339e42445f9702b9e638e78b13178bdff4c65;p=horde.git This code needs to run on dom:loaded --- diff --git a/imp/lib/Ajax/Imple/PassphraseDialog.php b/imp/lib/Ajax/Imple/PassphraseDialog.php index 9706ff150..facd7eef5 100644 --- a/imp/lib/Ajax/Imple/PassphraseDialog.php +++ b/imp/lib/Ajax/Imple/PassphraseDialog.php @@ -100,7 +100,7 @@ class IMP_Ajax_Imple_PassphraseDialog extends Horde_Core_Ajax_Imple $js = '$("' . $this->_domid . '").observe("click", function(e) { ' . $js . 'e.stop(); })'; } - Horde::addInlineScript(array($js)); + Horde::addInlineScript(array($js), 'dom'); } /**