Webclient plugins.file.writeFile()

Hi,

At first best wishes for 2012 for all you Servoyans !

We have a rather difficult to tackle issue :

We issue in webclient : ```
plugins.file.writeFile(_name, _file.getBytes(), _file.getContentType())

where _name is text-type and _file is JSFile-type.

The problem is that there is no file download in Firefox (9.0.1. and 8.). In Internet Explorer the file download does happen correctly !
Same code runs ok in Smartclient.

Any clues / help ?

Servoy 5.2.11

Regards,

I have some more info (after some testing) :

The Firefox download window seems to be ‘killed’ by a application.closeForm(‘my_form’) command which closes the active modal Servoy window…

When I put an extra waiting dialog before the closeForm the Firefox download window appears as it should…
Again, this happens only in webclient.

Help…

Regards,

Anybody from Servoy ?

Regards,