Skip to content

Commit

Permalink
Update to release v4.3.0 - fixes #550
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Jan 25, 2016
1 parent 728f6a9 commit cde7292
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log: `bootstrap-fileinput`
=================================

## version 4.3.0

**Date:** 25-Jan-2016

1. (enh #550): Correct Drag and drop issue with v4.2.9.

## version 4.2.9

**Date:** 22-Jan-2016
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various fi

![File Input Screenshot](https://lh3.googleusercontent.com/-3FiEmc_okc4/VBw_d2LBAJI/AAAAAAAAAL8/KbVj5X9Dus0/w596-h454-no/FileInput.jpg)

> NOTE: The latest version of the plugin is v4.2.9 (dev-master). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
> NOTE: The latest version of the plugin is v4.3.0 (dev-master). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
## Documentation and Demo

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-fileinput",
"version": "4.2.9",
"version": "4.3.0",
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
"authors": [
"Kartik Visweswaran <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion css/fileinput.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package bootstrap-fileinput
* @version 4.2.9
* @version 4.3.0
*
* File input styling for Bootstrap 3.0
* Built for Yii Framework 2.0
Expand Down
2 changes: 1 addition & 1 deletion css/fileinput.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<!-- release v4.2.9, copyright 2014 - 2015 Kartik Visweswaran -->
<!-- release v4.3.0, copyright 2014 - 2015 Kartik Visweswaran -->
<html lang="en">
<head>
<meta charset="UTF-8"/>
Expand Down
6 changes: 3 additions & 3 deletions js/fileinput.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
* @version 4.2.9
* @version 4.3.0
*
* File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced features including the FileReader API.
*
Expand Down Expand Up @@ -789,7 +789,7 @@
handler($zone, 'dragenter dragover', $.proxy(self.zoneDragEnter, self));
handler($zone, 'dragleave', $.proxy(self.zoneDragLeave, self));
handler($zone, 'drop', $.proxy(self.zoneDrop, self));
handler($zone, 'dragenter dragover drop', self.zoneDragDropInit);
handler($(document), 'dragenter dragover drop', self.zoneDragDropInit);
}
},
browse: function (e) {
Expand Down Expand Up @@ -2176,7 +2176,7 @@
},
updateFileDetails: function (numFiles) {
var self = this, $el = self.$element, fileStack = self.getFileStack(),
name = $el[0].files[0].name || (fileStack.length && fileStack[0].name) || '',
name = ($el[0].files[0] && $el[0].files[0].name) || (fileStack.length && fileStack[0].name) || '',
label = self.slug(name), n = self.isUploadable ? fileStack.length : numFiles,
nFiles = previewCache.count(self.id) + n, log = n > 1 ? self.getMsgSelected(nFiles) : label;
if (self.isError) {
Expand Down
6 changes: 3 additions & 3 deletions js/fileinput.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions nuget/Package.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>bootstrap-fileinput</id>
<title>bootstrap-fileinput</title>
<version>4.2.9</version>
<version>4.3.0</version>
<authors>Kartik Visweswaran, Robert Kiss (nuget package)</authors>
<owners>Kartik Visweswaran</owners>
<licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>
Expand All @@ -12,7 +12,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more.</description>
<releaseNotes>https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md</releaseNotes>
<copyright>Copyright 2015</copyright>
<copyright>Copyright 2014 - 2016</copyright>
<tags>bootstrap bootstrap-fileinput</tags>
<dependencies>
<dependency id="bootstrap" version="3.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-fileinput",
"version": "4.2.9",
"version": "4.3.0",
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
"authors": [
"Kartik Visweswaran <[email protected]>"
Expand Down

0 comments on commit cde7292

Please sign in to comment.