@@ -1,6 +1,12 @@
Change Log: `bootstrap-fileinput`
=================================
+## version 5.0.2
+
+**Date:** _under development_
+- (bug #1383): Validate for undefined zoom data.
## version 5.0.1
**Date:** 26-Mar-2019
@@ -1,6 +1,6 @@
{
"name": "bootstrap-fileinput",
- "version": "5.0.1",
+ "version": "5.0.2",
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
"authors": [
"Kartik Visweswaran <[email protected]>"
@@ -1,5 +1,5 @@
/*!
- * bootstrap-fileinput v5.0.1
+ * bootstrap-fileinput v5.0.2
* http://plugins.krajee.com/file-input
*
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
* Krajee default styling for bootstrap-fileinput.
<!DOCTYPE html>
-<!-- release v5.0.1, copyright 2014 - 2019 Kartik Visweswaran -->
+<!-- release v5.0.2, copyright 2014 - 2019 Kartik Visweswaran -->
<!--suppress JSUnresolvedLibraryURL -->
<html lang="en">
<head>
* Author: Kartik Visweswaran
@@ -1727,7 +1727,7 @@
/** @namespace config.zoomData */
fileId = config && config.fileId || 'file_' + id;
return self._generatePreviewTemplate(cat, dat, fn, ft, id, fileId, false, null, fc,
- ftr, ind, t, a, config.zoomData || dat);
+ ftr, ind, t, a, config && config.zoomData || dat);
};
if (!content || !content.length) {
return '';
@@ -3,7 +3,7 @@
<metadata>
<id>bootstrap-fileinput</id>
<title>bootstrap-fileinput</title>
- <version>5.0.1</version>
+ <version>5.0.2</version>
<authors>Kartik Visweswaran</authors>
<owners>Kartik Visweswaran</owners>
<licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>
* Krajee Explorer Font Awesome theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`.
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`.
* Krajee Explorer Font Awesome 4.x theme style for bootstrap-fileinput. Load this theme file after loading
* Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput.
* Krajee Explorer Font Awesome 5.x theme style for bootstrap-fileinput. Load this theme file after loading
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
* Font Awesome 5 icon theme configuration for bootstrap-fileinput. Requires font awesome 5 assets to be loaded.
* Glyphicon (default) theme configuration for bootstrap-fileinput.