|
@@ -84,7 +84,7 @@
|
|
else {
|
|
else {
|
|
this.mainTemplate = options.mainTemplate;
|
|
this.mainTemplate = options.mainTemplate;
|
|
}
|
|
}
|
|
- this.previewTemplate = options.previewTemplate;
|
|
|
|
|
|
+ this.previewTemplate = (this.showPreview) ? options.previewTemplate : '';
|
|
this.captionTemplate = options.captionTemplate;
|
|
this.captionTemplate = options.captionTemplate;
|
|
this.browseLabel = options.browseLabel;
|
|
this.browseLabel = options.browseLabel;
|
|
this.browseIcon = options.browseIcon;
|
|
this.browseIcon = options.browseIcon;
|