Commit Graph

17 Commits

Author SHA1 Message Date
Arnold Daniels
677bf21344 Merge branch 'patch-1' of github.com:ameyab/bootstrap into 2.2.2-j4-wip 2013-01-27 22:32:06 -08:00
Ameya Bhatawdekar
75f545982c 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)){
2013-01-27 17:22:01 -08:00
Arnold Daniels
ce0b235c86 Bind to document instead of 'body'
As per twitter#5308
2013-01-15 03:12:14 +01:00
Arnold Daniels
f28b38852d Fileupload fix: Don't need to get file on clear 2013-01-15 03:01:03 +01:00
gboer
a78887117c Update js/bootstrap-fileupload.js
A bit better fix for when the element itself is the dismiss button
2013-01-12 12:03:53 +01:00
Arnold Daniels
ef7599fd94 Fixed comments in bootstrap-fileupload.js 2012-12-26 10:44:48 +01:00
Arnold Daniels
c63e570f7f Using in fileupload. Fixed #19 2012-12-25 06:48:51 +01:00
Arnold Daniels
8fa7b7ee99 Reset fileupload on form reset. Fixed #31
Allow resetting and clearing fileupload using js
2012-12-25 06:41:17 +01:00
Arnold Daniels
c607fec9b9 Merge branch 'master' of git://github.com/SkynetInc/jasny-bootstrap into 2.2.2-j3-wip 2012-12-25 05:10:10 +01:00
Arnold Daniels
32a25811ff Add semicolon after (window.jQuery). fixes #39 2012-12-22 00:37:52 +01:00
Trindaz
393e5ae2de support ie8+ for changing target file 2012-12-20 18:03:37 +11:00
Ingmar Steen (Voipro)
6b7027eaec Check if target is dismiss or trigged in fileupload data-api click handler. 2012-11-16 10:34:55 +01:00
Arnold Daniels
998051173a Color border for error/warning/success for fileupload. Fixed #10
Cancel button clears fileupload widget. Fixed #11
2012-10-12 05:00:38 +02:00
Arnold Daniels
aa6fc5043c Fixes for fileupload
- Clear file input when pressing input button
 - Cancel event when pressing dismiss (before init)
 - Don't clear name when no file is selected in IE

New feature: data-trigger="fileupload"
2012-09-05 11:46:18 +02:00
Arnold Daniels
e7c6351285 Fixes for bootstrap fileupload
- Fix for IE9-
 - Fix for click on dismiss button (befor init)
2012-09-05 11:46:18 +02:00
Arnold Daniels
04c7c677f4 Documented file upload + upload button
Added bootstrap-fileupload.js to Makefile
Added jasny/fileupload.less to jasny/bootstrap.less
2012-09-05 11:46:17 +02:00
Arnold Daniels
b304ffc070 Added file upload and image upload widgets
Added upload button
2012-09-05 11:46:17 +02:00