Hello :-)
Reproducing the problem
The animation spins forever, no errors shown or logged, strange, huh?
Another scenario:
Same thing. After attaching a file with a name containing unicode characters it is NOT possible to attach another file.
But no errors are shown or logged...
What I've done (don't laugh):
# svn diff app.js Index: app.js =================================================================== --- app.js (revision 3899) +++ app.js (working copy) @@ -3062,16 +3062,16 @@ // have to do it this way for IE // otherwise the form will be posted to a new window if (document.all) {
var html = '<iframe name="'+frame_name+'" src="program/blank.gif" style="width:0;height:0;visibility:hidden;"></iframe>';
var html = '<iframe name="'+frame_name+'" src="program/blank.gif" style="position:absolute; left:0px; top:0px; width:200px; height:200px; visibility:visible; z-index:9999; font-weight: bold; color: red;"></iframe>';
document.body.insertAdjacentHTML('BeforeEnd',html);
}
else { // for standards-compilant browsers
var frame = document.createElement('iframe');
frame.name = frame_name;
frame.style.border = 'none';
frame.style.width = 0;
frame.style.height = 0;
frame.style.visibility = 'hidden';
frame.style.width = '200px';
frame.style.height = '200px';
frame.style.visibility = 'visible';
document.body.appendChild(frame);
}
Now I can see "Invalid session var!".
This error is shown, because:
if (!$_SESSION['compose']){ die("Invalid session var!"); }
which is found in ./program/steps/mail/attachments.inc.
Any ideas how can fix this? I'm kinda new to roundcube-dev 8-)