Giter Site home page Giter Site logo

Comments (22)

tors avatar tors commented on June 2, 2024

@andoriyu hi Andrey! Have you tried renaming your application.css to application.css.scss ? Seemed to work before if I can remember correctly. I just recently made an example app for this gem. You may want to check this out https://github.com/tors/jquery-fileupload-rails-paperclip-example

from jquery-fileupload-rails.

andoriyu avatar andoriyu commented on June 2, 2024

@tors yes, it is already application.css.scss. Just removing fixes of IE worked for me.

from jquery-fileupload-rails.

veloper avatar veloper commented on June 2, 2024

+1 - This seems to be happening to my app as well -- exact same error.

Also changed to application.css.scss with no luck.

from jquery-fileupload-rails.

guigs avatar guigs commented on June 2, 2024

I had the same problem. It seems that it is something with sass gem version 3.2.0.
To force using sass 3.1.x put in your Gemfile:

gem 'sass', '~> 3.1.0'

from jquery-fileupload-rails.

rlanvin avatar rlanvin commented on June 2, 2024

+1 The same error appeared after upgrading sass, and I can confirm @guigs fix worked.

from jquery-fileupload-rails.

virtualfunction avatar virtualfunction commented on June 2, 2024

Yes, this is an issue for me, SASS 3.2 seems to be to blame

from jquery-fileupload-rails.

ep-wac avatar ep-wac commented on June 2, 2024

+1 SASS 3.2 either has tightened the DSL or something turned sour on them :)

@guigs is right - forcing 'sass' down works for me too

from jquery-fileupload-rails.

ethul avatar ethul commented on June 2, 2024

Updating lines 55 to 64 in the jquery.fileupload-ui.css.erb to the following seems to work on Sass 3.2.

/* Fix for IE 6: */
* html .fileinput-button {
  line-height: 22px;
  margin: 1px -3px 0 0;
}

/* Fix for IE 7: */
* + html .fileinput-button {
  margin: 1px 0 0 0;
}

from jquery-fileupload-rails.

wQwRtaufxJw7UFLCXzXz avatar wQwRtaufxJw7UFLCXzXz commented on June 2, 2024

any chance we can see if that fix still works for IE 7?

from jquery-fileupload-rails.

tylercollier avatar tylercollier commented on June 2, 2024

I had the same problem with sass 3.2.1. Reverting back to 3.1.21 worked for me.

from jquery-fileupload-rails.

poori avatar poori commented on June 2, 2024

thanks. replacing the lines as mentioned by @ethul worked for me.

from jquery-fileupload-rails.

richkuo avatar richkuo commented on June 2, 2024

hey @ethul, where is the jquery.fileupload-ui.css.erb file located?

from jquery-fileupload-rails.

ethul avatar ethul commented on June 2, 2024

hi @richkuo, this depends on how you have ruby install. The file will end up where you have your gems installed:

/path/to/your/ruby/gems/jquery-fileupload-rails-0.3.2/vendor/assets/stylesheets/jquery.fileupload-ui.css.erb

from jquery-fileupload-rails.

richkuo avatar richkuo commented on June 2, 2024

@ethul thanks
i forked over my own repo, made the changes, and explicitly called it in my Gemfile with
gem 'jquery-fileupload-rails', :git => "git://github.com/richkuo/jquery-fileupload-rails"

from jquery-fileupload-rails.

zzet avatar zzet commented on June 2, 2024

hi @richkuo ! I also do this....

from jquery-fileupload-rails.

teddis avatar teddis commented on June 2, 2024

Thanks @ethul, worked great!

from jquery-fileupload-rails.

kevzettler avatar kevzettler commented on June 2, 2024

+1 for this issue

from jquery-fileupload-rails.

svasva avatar svasva commented on June 2, 2024

+1

from jquery-fileupload-rails.

sardaukar avatar sardaukar commented on June 2, 2024

+1

from jquery-fileupload-rails.

tmtysk avatar tmtysk commented on June 2, 2024

+1

from jquery-fileupload-rails.

zolzaya avatar zolzaya commented on June 2, 2024

+1

from jquery-fileupload-rails.

felixbuenemann avatar felixbuenemann commented on June 2, 2024

As written above: upgrade sass.

from jquery-fileupload-rails.

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.