Comments (16)
Removing the above fixed it for me also - thanks!
from bootstrap-filestyle.
This only happens in firefox?
from bootstrap-filestyle.
Yes, it works fine on other browsers.
I just went through the code and tried to comment out the firefox specific code (with the label click) and somehow it seems to fix the issue.
from bootstrap-filestyle.
In firefox, label does not work perfectly so it has a specific section for firefox in the code. Unfortunately when performing click the filestyle conflict with fileupload. Even so I will check.
from bootstrap-filestyle.
I am experiencing the same problem, any update on this issue?
from bootstrap-filestyle.
I also faced this problem... I have followed suggestion by @munchj which worked for me. Not sure what is the implication of that, will post if I find any side-effects of this.
from bootstrap-filestyle.
Hi! Same problem here!
I checked it's working properly with Chrome, Safari & IE11, but not working on FF 31.0
Any idea about how to get it working without disabling styling.
from bootstrap-filestyle.
After debbuging, I found the error on FF check
// Check if browser is Firefox
if (window.navigator.userAgent.search(/firefox/i) > -1) {
// Simulating choose file for firefox
_self.$elementFilestyle.find('label').click(function() {
_self.$element.click();
return false;
});
}
Should be
// Check if browser is Firefox
if (window.navigator.userAgent.search(/firefox/i) > -1) {
// Simulating choose file for firefox
_self.$elementFilestyle.find('label').click(function() {
_self.$element.click();
return true;
});
}
false
return didn't allow FF to continue with upload file windows. But maybe it is by design for any reason I don't know. I don't purpose as a code update until Markus confirms it.
from bootstrap-filestyle.
Could someone inform the official page of the plugin jquery-fileupload?
from bootstrap-filestyle.
Closed for lack of information
from bootstrap-filestyle.
Hello,
One year after, still the same conflict. The solution of @dtamajon works well except it opens two file picker windows. Only the first one is working…
I don't understand if it's a problem relative to FileUpload or to FileStyle :(
from bootstrap-filestyle.
I never plugin fileupload so I do not know. When searching countless met with the same or similar. after a while I waited for someone inform me what the plugin that was presenting problem. if you are willing to help and give me the link of the plugin see if I can solve the problem with all pleasure
from bootstrap-filestyle.
The plugin is this one: https://github.com/blueimp/jQuery-File-Upload
Let me know if I can help you :)
from bootstrap-filestyle.
You do not have a some online example for me to observe more quickly?
from bootstrap-filestyle.
Hey,
Here is a JsFiddle: http://jsfiddle.net/gdebrion/a4ffupL5/29/
You can check one time with the "filestyle" class on the input media, and one time without.
Steps:
- Pick a file
- Observe the progress bar moving
- Pick another file
- The upload starts again… or not, it depends if filestyle is active or not.
Tests done with Firefox 42.0 on Linux Mint Debian Edition.
from bootstrap-filestyle.
Hi there!
I'm not sure if anyone is still having this issue, but I recently came across it with the project I'm working on, and I'm using both the jQuery File Upload plugin in combination with this bootstrap filestyle plugin.
The code block that starts at line 280 (in version 1.2.1) is only required if you are supporting Firefox version 22 & lower. The Firefox bug that the code block was working around was fixed in version 23 and up.
This is the code block that can be removed:
// Check if browser is Firefox if (window.navigator.userAgent.search(/firefox/i) > -1) { // Simulating choose file for firefox _self.$elementFilestyle.find('label').click(function () { _self.$element.click(); return false; }); }
In my application, we are only supporting "newer" versions of Firefox, so I've removed that code block entirely and everything functions as expected.
Jason
from bootstrap-filestyle.
Related Issues (20)
- Hi,clear method is not working when I submit form by ajax. HOT 1
- Input group breaking changes HOT 6
- Default value HOT 1
- Not working inside an ng-repeat HOT 1
- Update npm package HOT 2
- How it works? HOT 14
- Can not install latest version using npm HOT 1
- the new version doesn't work for me HOT 1
- Not working in HubSpot, filestyle is not a function error HOT 3
- TypeError: element.filestyle is not a function HOT 1
- what about required option? HOT 1
- Text option to change button text wrong HOT 1
- Bootstrap-filestyle doesn't work. I can't see font awesome. HOT 5
- Version 1.2.3 not published to NPM HOT 1
- only works on page refresh
- Clear method issue
- change event not triggered on drag & drop
- Cannot Retrieve Javascript this object onChange Event
- dragdrop doesnt work if loaded via ajax
- Change on htmlIcon / data-icon
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 bootstrap-filestyle.