File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
version 4.1.9
2
2
=============
3
- ** Date** : 30-Apr -2015
3
+ ** Date** : 02-May -2015
4
4
5
5
1 . (enh #232 ): Update docs to reflect updated bootstrap CDN domain.
6
6
2 . (enh #237 ): Better styling of file caption icon.
@@ -21,9 +21,10 @@ version 4.1.9
21
21
17 . (enh #259 ): Add Polish translations.
22
22
18 . (enh #263 ): Enhance parsing of file preview thumbnails and actions.
23
23
19 . (enh #264 ): Validate input type of file before initializing plugin.
24
- 20 . (enh #269 ): Add Turkish translations.
24
+ 20 . (enh #269 , # 272 ): Add Turkish translations.
25
25
21 . (enh #270 ): Add Portugese translations.
26
26
22 . (enh #271 ): Add Dutch translations.
27
+ 23 . (bug #273 ): Reset caption correctly after all initial preview is deleted.
27
28
28
29
version 4.1.8
29
30
=============
Original file line number Diff line number Diff line change 1929
1929
} ) ;
1930
1930
} ,
1931
1931
initCaption : function ( ) {
1932
- var self = this , cap ;
1933
- if ( self . overwriteInitial ) {
1932
+ var self = this , cap = self . initialCaption || '' ;
1933
+ if ( self . overwriteInitial || isEmpty ( cap ) ) {
1934
1934
self . $caption . html ( '' ) ;
1935
1935
return false ;
1936
1936
}
1937
- cap = self . initialCaption || '' ;
1938
1937
self . setCaption ( cap ) ;
1939
1938
return true ;
1940
1939
} ,
You can’t perform that action at this time.
0 commit comments