Coder Social home page Coder Social logo

Comments (10)

joselo avatar joselo commented on August 31, 2024 1

instead of make a fork of s3_direct_upload I created a initializer that removes the middleware and s3_direct_upload still works, thanks for the advice.

App::Application.config.middleware.delete "JQuery::FileUpload::Rails::Middleware"

from remotipart.

maletor avatar maletor commented on August 31, 2024

I have run into this same issue. How did you resolve?

from remotipart.

raykin avatar raykin commented on August 31, 2024

run rake middleware and make sure JQuery::FileUpload::Rails::Middleware was not existed. If it existed, you may defined it in your config files or in your gems. ex, in my app, it was used by another gem s3_direct_upload, so I replace it with another one.

from remotipart.

maletor avatar maletor commented on August 31, 2024

Got it. So I did that and things work great with remotipart again now. The
problem lies with IE8 and s3_direct_upload. It does not seem to upload with
IE but works with Chrome.

On Thursday, May 30, 2013, raykin wrote:

run rake middleware and make sure JQuery::FileUpload::Rails::Middleware
was not existed. If it existed, you may defined it in your config files or
in your gems. ex, in my app, it was used by another gem s3_direct_upload,
so I replace it with another one.


Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-18720249
.

from remotipart.

joselo avatar joselo commented on August 31, 2024

@raykin I have the same problem, you mean that should I replace s3_direct_upload with other gem?

from remotipart.

raykin avatar raykin commented on August 31, 2024

@joselo not example, in my usage, I only need part feature of s3_direct_upload, so I extract the needed part in my own project. I thought you can fork s3_direct_upload and remove Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware

from remotipart.

joselo avatar joselo commented on August 31, 2024

@raykin ok thank so much!!

from remotipart.

maletor avatar maletor commented on August 31, 2024

Why can't remotipart use https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js?

from remotipart.

JangoSteve avatar JangoSteve commented on August 31, 2024

@maletor Remotipart uses this jquery.iframe-transport.js.

from remotipart.

maletor avatar maletor commented on August 31, 2024

Darn.

On Mon, Aug 5, 2013 at 12:43 PM, Steve Schwartz [email protected]:

@maletor https://github.com/maletor Remotipart uses this
jquery.iframe-transport.jshttps://github.com/cmlenz/jquery-iframe-transport/blob/master/jquery.iframe-transport.js
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-22135326
.

from remotipart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.