Author Topic: Attachments open too small  (Read 5897 times)

Offline elc

  • Newbie
  • *
  • Posts: 3
Attachments open too small
« on: January 15, 2008, 11:30:17 AM »
SVN 955
Using IE7 and Opera 9.25

From a clean install of RoundCube, my attachments open in a new window but in a frame too small for the attachment.
I suppose this is not a real bug, since noone else has reported it - but what am I doing wrong, and where is the frame size set from code?


Offline madseman

  • Newbie
  • *
  • Posts: 1
Re: Attachments open too small
« Reply #1 on: January 18, 2008, 03:57:57 AM »
I have the same problem :-\

But when I change the line in: /program/js/app.js

Quote
this.attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', 'rcubemailattachment');


to:

Quote
this.attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=0', 'rcubemailattachment');

When i get the full size :)

Is this the right thing to do?

Backi

  • Guest
Re: Attachments open too small
« Reply #2 on: January 20, 2008, 11:11:06 AM »
i've got the same problem too, seems to be a bug.
http://roundcubeforum.net/forum/index.php?topic=2585.msg10261#msg10261

Offline elc

  • Newbie
  • *
  • Posts: 3
Re: Attachments open too small
« Reply #3 on: January 21, 2008, 09:06:15 PM »
Quote from: madseman
I have the same problem :-\

But when I change the line in: /program/js/app.js

Quote
this.attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', 'rcubemailattachment');


to:

Quote
this.attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=0', 'rcubemailattachment');

When i get the full size :)

Is this the right thing to do?

Thanks! This works nicely as a temporary fix :)

BTW: It seems to me this is a CSS problem in relation to the iFrame, but that's really not my table.

/eLC