Author Topic: Move to folder while viewing email fails on jquery.min.js  (Read 3420 times)

Offline jyrkipes

  • Newbie
  • *
  • Posts: 6
Move to folder while viewing email fails on jquery.min.js
« on: July 25, 2015, 07:35:57 PM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,881
    • SKaero - Custom Roundcube development
Re: Move to folder while viewing email fails on jquery.min.js
« Reply #1 on: July 25, 2015, 09:07:59 PM »
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.

Offline jyrkipes

  • Newbie
  • *
  • Posts: 6
Re: Move to folder while viewing email fails on jquery.min.js
« Reply #2 on: July 26, 2015, 03:15:13 PM »
OK, thanks!

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

Offline jyrkipes

  • Newbie
  • *
  • Posts: 6
Re: Move to folder while viewing email fails on jquery.min.js
« Reply #3 on: July 26, 2015, 04:49:14 PM »
...and some minutes later, this (breaks my debian installation for now, but meantime it) fixed it:
Code: [Select]
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,881
    • SKaero - Custom Roundcube development
Re: Move to folder while viewing email fails on jquery.min.js
« Reply #4 on: July 26, 2015, 07:42:49 PM »
You may also have problem with TinyMCE (the html editor in Roundcube) other reported problems.