|
@@ -13,7 +13,7 @@
|
|
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
|
*/
|
|
*/
|
|
(function ($) {
|
|
(function ($) {
|
|
- "use strict";
|
|
|
|
|
|
+ 'use strict';
|
|
var teTagBef = '<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
|
|
var teTagBef = '<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
|
|
' data-fileid="{fileid}" data-template="{template}"', teContent = '<td class="kv-file-content">\n';
|
|
' data-fileid="{fileid}" data-template="{template}"', teContent = '<td class="kv-file-content">\n';
|
|
$.fn.fileinputThemes['explorer-fa'] = {
|
|
$.fn.fileinputThemes['explorer-fa'] = {
|
|
@@ -46,15 +46,14 @@
|
|
tagAfter: '</td>\n{footer}</tr>\n'
|
|
tagAfter: '</td>\n{footer}</tr>\n'
|
|
},
|
|
},
|
|
previewSettings: {
|
|
previewSettings: {
|
|
- image: {height: "60px"},
|
|
|
|
- html: {width: "100px", height: "60px"},
|
|
|
|
- text: {width: "100px", height: "60px"},
|
|
|
|
- video: {width: "auto", height: "60px"},
|
|
|
|
- audio: {width: "auto", height: "60px"},
|
|
|
|
- flash: {width: "100%", height: "60px"},
|
|
|
|
- object: {width: "100%", height: "60px"},
|
|
|
|
- pdf: {width: "100px", height: "60px"},
|
|
|
|
- other: {width: "100%", height: "60px"}
|
|
|
|
|
|
+ html: {width: '100px', height: '60px'},
|
|
|
|
+ text: {width: '100px', height: '60px'},
|
|
|
|
+ video: {width: 'auto', height: '60px'},
|
|
|
|
+ audio: {width: 'auto', height: '60px'},
|
|
|
|
+ flash: {width: '100%', height: '60px'},
|
|
|
|
+ object: {width: '100%', height: '60px'},
|
|
|
|
+ pdf: {width: '100px', height: '60px'},
|
|
|
|
+ other: {width: '100%', height: '60px'}
|
|
},
|
|
},
|
|
frameClass: 'explorer-frame',
|
|
frameClass: 'explorer-frame',
|
|
fileActionSettings: {
|
|
fileActionSettings: {
|