Merge pull request #292 from akhileshdarjee/1310

[fix] [minor] report export related fix
This commit is contained in:
Nabin Hait 2013-11-13 23:55:53 -08:00
commit 3c71ead2be

View file

@ -14,8 +14,8 @@ wn.tools.downloadify = function(data, roles, me) {
var flash_disabled = (navigator.mimeTypes["application/x-shockwave-flash"] == undefined);
var download_from_server = function() {
open_url_post("server.py?cmd=webnotes.utils.datautils.send_csv_to_client",
{args: {data: data, filename: me.title}}, true);
open_url_post("server.py",
{cmd: "webnotes.utils.datautils.send_csv_to_client", args: {data: data, filename: me.title}}, true);
}
// save file > abt 200 kb using server call