public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murtuza Zabuawala <[email protected]>
To: Dave Page <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: PATCH: Fix the issue for saving query output as CSV
Date: Tue, 28 Jun 2016 15:03:10 +0530
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+OCxozBcaqNW_niBut3KV2C0LXMPFtZxPkk-r4VCwWemo99pg@mail.gmail.com>
References: <CAKKotZSvCZ4JkK03rgGyG5h8QAeoQrcDfxsguj81YX4EgWAZbA@mail.gmail.com>
	<CA+OCxowF2JdJ2=3-N9oE5K6t0Ywjsm00X+=5Xq5RcmJxH0v-Cw@mail.gmail.com>
	<[email protected]>
	<CA+OCxozBcaqNW_niBut3KV2C0LXMPFtZxPkk-r4VCwWemo99pg@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Yes Dave, I agree that downloading files has been supported in browsers since long .

But in general we send request & then receives files from web server but in our case we are fetching our data from Backbone models & then converting it to CSV format for downloading as a file at client side in browser itself.


> On 28-Jun-2016, at 2:44 pm, Dave Page <[email protected]> wrote:
> 
> On Tue, Jun 28, 2016 at 7:08 AM, Murtuza Zabuawala
> <[email protected]> wrote:
>> Hi Dave,
>> 
>> Yes, Safari is exception case because it does not support download attribute of hyperlink <a> element.
>> 
>> Ref:  http://caniuse.com/#feat=download
>> 
>> I was not able to find any workaround for Safari as of now that’s is why I mentioned only Firefox & IE in my last email,
>> Earlier it was only working on Chrome and with this patch it will work with Chrome/Firefox/IE.
> 
> Well downloading files has been supported in browsers since NCSA
> Mosaic, so it's nothing new :-). We need to fix this, one way or
> another.
> 
> -- 
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
> 
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company



-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



view thread (23+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: PATCH: Fix the issue for saving query output as CSV
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox