Skip to content

Conversation

amione
Copy link
Contributor

@amione amione commented May 19, 2016

I was working with a customer who was having trouble getting filepicker_save_link to work.

The gem was rendering the export tag with the following fields:

data-fp-option-services="BOX" and data-fp-option-defaultsaveasname="exampleName"

These needed to be data-fp-services and data-fp-suggestedFilename.

I found that they appeared to be wrong in the export widget method of the helper, and suggested the customer change them. He updated the helper himself and that fixed his issue, so I am issuing a pull request to update the helper.

@coveralls
Copy link

coveralls commented May 19, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling f779344 on amione:master into dffdf5e on Ink:master.

options[:data]['fp-mimetype'] = mimetype
options[:data]['fp-option-container'] = container if container
options[:data]['fp-option-services'] = Array(services).join(",") if services
options[:data]['fp-option-defaultSaveasName'] = save_as if save_as
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a look at the documentation and yes these fp-option does not exist.

I can't find the suggestedFilename in the documentation. But we can continue on it, changing this option.

@maurogeorge
Copy link
Contributor

Hi @amione thanks for the PR.

Could you please update the specs too to make all 🍏 .

Thanks

@amione
Copy link
Contributor Author

amione commented May 26, 2016

Yup, I will do that. I will get the suggested filename added to our docs
too. I think that it only appears in the active sample code boxes.
On May 26, 2016 9:34 AM, "Mauro George" notifications@github.com wrote:

Hi @amione https://github.com/amione thanks for the PR.

Could you please update the specs too to make all 🍏 .

Thanks


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#146 (comment)

@coveralls
Copy link

coveralls commented Jun 14, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 3fdf1f9 on amione:master into dffdf5e on Ink:master.

@amione
Copy link
Contributor Author

amione commented Jun 15, 2016

@maurogeorge I updated the tests and it looks like they passed, but there are some build failures that seem unrelated to any changes that I made. Any ideas about what is happening?

@maurogeorge
Copy link
Contributor

Sorry @amione I am out from open source for a while. Unfortunately I cannot work on this to try reproduce the erros.

@kyuss
Copy link
Contributor

kyuss commented Apr 6, 2017

@amione I have opened new pull request based on yours with fixed specs.

#157

Closing this one.

@kyuss kyuss closed this Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants