Update js/bootstrap-fileupload.js

Support for jquery.browser was removed in 1.9. This caused the "Remove" button to not work. 

Changed line 103 from 
   if($.browser.msie){
to 
   if (navigator.userAgent.match(/msie/i)){
This commit is contained in:
Ameya Bhatawdekar
2013-01-27 17:22:01 -08:00
parent 9565f1703a
commit 75f545982c

View File

@@ -100,7 +100,7 @@
this.$input.attr('name', '')
//ie8+ doesn't support changing the value of input with type=file so clone instead
if($.browser.msie){
if (navigator.userAgent.match(/msie/i)){
var inputClone = this.$input.clone(true);
this.$input.after(inputClone);
this.$input.remove();