Comments (22)
@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.
@tors yes, it is already application.css.scss. Just removing fixes of IE worked for me.
from jquery-fileupload-rails.
+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.
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.
+1 The same error appeared after upgrading sass, and I can confirm @guigs fix worked.
from jquery-fileupload-rails.
Yes, this is an issue for me, SASS 3.2 seems to be to blame
from jquery-fileupload-rails.
+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.
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.
any chance we can see if that fix still works for IE 7?
from jquery-fileupload-rails.
I had the same problem with sass 3.2.1. Reverting back to 3.1.21 worked for me.
from jquery-fileupload-rails.
thanks. replacing the lines as mentioned by @ethul worked for me.
from jquery-fileupload-rails.
hey @ethul, where is the jquery.fileupload-ui.css.erb file located?
from jquery-fileupload-rails.
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.
@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.
hi @richkuo ! I also do this....
from jquery-fileupload-rails.
Thanks @ethul, worked great!
from jquery-fileupload-rails.
+1 for this issue
from jquery-fileupload-rails.
+1
from jquery-fileupload-rails.
+1
from jquery-fileupload-rails.
+1
from jquery-fileupload-rails.
+1
from jquery-fileupload-rails.
As written above: upgrade sass.
from jquery-fileupload-rails.
Related Issues (20)
- sassc dependency break installation on old servers HOT 1
- fileupload() is not function HOT 4
- multipart to allow uploads past 5gb size
- How to get this gem working with Rails 6.
- Release gem v.0.4.4 HOT 3
- Release gem v0.4.5 HOT 1
- jquery fileupload with nested attributes HOT 4
- Can we update the assets for this? HOT 2
- Cant integrate S3 with javascript file upload using presigned post HOT 5
- Use controller or helper instead of model for upload HOT 5
- preview image/video not working HOT 1
- Release gem v0.4.6 HOT 1
- A couple of the asset files seem to be mutually exclusive
- Reuse File Input for a second upload HOT 5
- Widget not working in Rails 5? HOT 1
- Can't direct upload to DreamObjects (S3 compatible OpenStack installation) HOT 3
- Select a file button not responding on production HOT 1
- replace sass with sassc
- Update to support Rails 5.2 HOT 2
- ActionView::Template::Error: Invalid CSS after "screen": expected media query list, was "\" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-fileupload-rails.