I just submitted a bug to trac about downloading attachments that
aren't of a correct mime type to spawn the window, ie the direct
download, that causes the ui to lock up. (#1484496)
Here is my patch to the solution from the latest svn checkout. It
retains the original behavior of the redirect() function but adds in
the lock that is sent to goto_url().
New to patches, so please forgive if I did this improperly.
Patrick
--- program/js/app.js (revision 657) +++ program/js/app.js (working copy) @@ -694,7 +694,7 @@ } }
this.goto_url('get', qstring+'&_download=1');
this.goto_url('get', qstring+'&_download=1', false);
break;
case 'select-all':
@@ -3187,9 +3187,10 @@ /********* remote request methods *********/ /********************************************************/
this.set_busy(true);
if (this.env.framed && window.parent)
parent.location.href = url;
else
@@ -3198,11 +3199,8 @@ this.goto_url = function(action, query, lock) {
var querystring = query ? '&'+query : '';
lock); };
List info: http://lists.roundcube.net/dev/