Ok, so I have traced the javascript and I have found the problem! It was
quite tough task.
I found that the composer window miss KeyNavList javascript object. Adding:
$page_output->addScriptFile('keynavlist.js', 'horde');
To the IMP_Dynamic_Compose_Common::compose() function solved the
problem. See attached patch.
But what I do not understand is, why NOBODY! seen this issue? This is a
type of error that have to affect everybody!! How this could happen?
regards,
Karel
Dne 22.11.2013 04:48, Michael M Slusarz napsal(a):
Quoting Karel Kozlík <koz...@kufr.cz>:
Hello,
I upgraded IMP from ver 4 to 6.1.6 and I encounter problem that when I
want compose new email message, new window with text "Loading ..."
appear and that's it. Except this text the window is empty.
I found the page loaded to this window seems to contain the complete
HTML code for the composing window, but it is hidden via CSS. I guess
some javascript should uncover the elements of the window, but this
did not happen. I do not see any errors on the javascript console of
the browser (firefox and chromium), all required files are loaded (no
404 errors). I neither see any erros in syslog on the server.
Do you have any idea what could be wrong? Or what else should I check?
Unfortunately, you will have to trace the javascript yourself to find
the issue. (It might not throw an exception that appears in the browser
log since some code made unfortunately be eating the exception.
Prototypejs does this with some of its internals).
michael
___________________________________
Michael Slusarz [slus...@horde.org]
diff -ur horde.bak/imp/lib/Dynamic/Compose/Common.php horde/imp/lib/Dynamic/Compose/Common.php
--- horde.bak/imp/lib/Dynamic/Compose/Common.php 2013-11-22 18:14:05.920376924 +0100
+++ horde/imp/lib/Dynamic/Compose/Common.php 2013-11-22 20:34:25.898362668 +0100
@@ -43,6 +43,7 @@
$page_output->addScriptFile('draghandler.js');
$page_output->addScriptFile('murmurhash3.js');
$page_output->addScriptFile('textarearesize.js', 'horde');
+ $page_output->addScriptFile('keynavlist.js', 'horde');
if (!$prefs->isLocked('default_encrypt') &&
($prefs->getValue('use_pgp') || $prefs->getValue('use_smime'))) {
Pouze v horde/imp/lib/Dynamic/Compose: .Common.php.swp
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org