Przeglądaj źródła

Upgraded to release v1.7.0

Kartik Visweswaran 11 lat temu
rodzic
commit
9352287761
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 3 3
      CHANGE.md
  2. 1 1
      examples/index.html

+ 3 - 3
CHANGE.md

@@ -3,9 +3,9 @@ version 1.7.0
 Date: 02-Jul-2014
 
 ### Additions
-1. The plugin now offers an additional `overwriteInitial` option. This is by default set to `true`. This defaults to `true`, whereby, 
-   any `initialPreview` content set will be overwritten, when new file is uploaded or when files are cleared. Setting it to `false` will 
-   help displaying a saved image or file from database always - useful especially when using the `multiple` file upload feature.
+1. The plugin now offers an additional `overwriteInitial` option. This is by default set to `true`, whereby, any `initialPreview`
+   content set will be overwritten, when new file is uploaded or when files are cleared. Setting it to `false` will help displaying 
+   a saved image or file from database always - useful especially when using the `multiple` file upload feature.
 
 version 1.6.0
 =============

+ 1 - 1
examples/index.html

@@ -35,7 +35,7 @@
 	<script>
     $("#file-1").fileinput({
         initialPreview: ["<img src='Desert.jpg' class='file-preview-image'>", "<img src='Jellyfish.jpg' class='file-preview-image'>"],
-        overwriteInitial: false
+        overwriteInitial: true
 	});
 	$("#file-3").fileinput({
 		showCaption: false,