Roundcube Community Forum

 

Move to folder while viewing email fails on jquery.min.js

Started by jyrkipes, July 25, 2015, 07:35:57 PM

Previous topic - Next topic

jyrkipes

debian sid, roundcube 1.1.1, dovecot, chrome

When click Move-icon (or More->move to folder), can see in javascript console an error: Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
No errors on server side (apache or roundcube) logs.

If I drag an email from main list to any folder, it works.

Not good in debugging js, but it seems the code finds out all my available folders and fails when it tries to add 'em to array (or something).
Fails in function 'folder_selector' when it calls jquery-function 'append'.

Search gave only issues from 8years back and this should not be any imap-conf issue as it used to work before (1.1.0 I'd assume)

Where should I look for more?
-
Jyrki

SKaero

If your installing Roundcube as a Debian package that maybe your problem. Last I heard the Debian package was broken because it was linking to outdated jQuery and TinyMCE versions.

jyrkipes

OK, thanks!

I'll look things around that and should I figure something out, will let it be known here.
-
Jyrki

jyrkipes

...and some minutes later, this (breaks my debian installation for now, but meantime it) fixed it:

su
cd /usr/share/javascript/jquery
mv jquery.js jquery.js.debian
mv jquery.min.js jquery.min.js.debian
wget http://code.jquery.com/jquery-1.11.3.js
wget http://code.jquery.com/jquery-1.11.3.min.js
ln -sf jquery-1.11.3.js jquery.js
ln -sf jquery-1.11.3.min.js jquery.min.js
apachectl restart


Purists, please be mercyful...

=> Fixed: worksforme
-
Jyrki

SKaero

You may also have problem with TinyMCE (the html editor in Roundcube) other reported problems.