Skip to content

Commit

Permalink
Fix regression in handling mailbox export
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 29, 2014
1 parent 10b4bc9 commit 98f2436
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imp/js/dimpbase.js
Original file line number Diff line number Diff line change
Expand Up @@ -928,13 +928,13 @@ var DimpBase = {
break;

case 'ctx_mbox_export':
this.viewaction = function(e) {
this.viewaction = function(e2, e) {
HordeCore.download('', {
actionID: 'download_mbox',
mbox_list: Object.toJSON([ this.flist.getMbox(e).value() ]),
type: e.element().down('[name=download_type]').getValue()
type: e2.memo.findElement('FORM').down('[name=download_type]').getValue()
});
};
}.bindAsEventListener(this, e);

tmp = new Element('SELECT', { name: 'download_type' });
$H(DimpCore.conf.download_types).each(function(d) {
Expand Down

0 comments on commit 98f2436

Please sign in to comment.