|
@@ -349,7 +349,7 @@
|
|
|
_initTemplateDefaults: function () {
|
|
|
var self = this, tMain1, tMain2, tPreview, tFileIcon, tClose, tCaption, tBtnDefault, tBtnLink, tBtnBrowse,
|
|
|
tModalMain, tModal, tProgress, tSize, tFooter, tActions, tActionDelete, tActionUpload, tActionZoom,
|
|
|
- tActionDrag, tActionInd, tTagBef, tTagBef1, tTagBef2, tTagAft, tGeneric, tHtml, tImage, tText, tVideo,
|
|
|
+ tActionDrag, tIndicator, tTagBef, tTagBef1, tTagBef2, tTagAft, tGeneric, tHtml, tImage, tText, tVideo,
|
|
|
tAudio, tFlash, tObject, tPdf, tOther, tZoomCache, vDefaultDim;
|
|
|
tMain1 = '{preview}\n' +
|
|
|
'<div class="kv-upload-progress hide"></div>\n' +
|
|
@@ -408,9 +408,9 @@
|
|
|
tSize = ' <samp>({sizeText})</samp>';
|
|
|
tFooter = '<div class="file-thumbnail-footer">\n' +
|
|
|
' <div class="file-footer-caption" title="{caption}">{caption}<br>{size}</div>\n' +
|
|
|
- ' {progress} {actions}\n' +
|
|
|
+ ' {progress} {indicator} {actions}\n' +
|
|
|
'</div>';
|
|
|
- tActions = '{indicator}\n' + '{drag}\n' +
|
|
|
+ tActions = '{drag}\n' +
|
|
|
'<div class="file-actions">\n' +
|
|
|
' <div class="file-footer-buttons">\n' +
|
|
|
' {upload} {delete} {zoom} {other}' +
|
|
@@ -425,7 +425,7 @@
|
|
|
tActionZoom = '<button type="button" class="kv-file-zoom {zoomClass}" ' +
|
|
|
'title="{zoomTitle}">{zoomIcon}</button>';
|
|
|
tActionDrag = '<span class="file-drag-handle {dragClass}" title="{dragTitle}">{dragIcon}</span>';
|
|
|
- tActionInd = '<div class="file-upload-indicator" title="{indicatorTitle}">{indicator}</div>';
|
|
|
+ tIndicator = '<div class="file-upload-indicator" title="{indicatorTitle}">{indicator}</div>';
|
|
|
tTagBef = '<div class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
|
|
|
' data-template="{template}"';
|
|
|
tTagBef1 = tTagBef + '><div class="kv-file-content">\n';
|
|
@@ -467,12 +467,12 @@
|
|
|
progress: tProgress,
|
|
|
size: tSize,
|
|
|
footer: tFooter,
|
|
|
+ indicator: tIndicator,
|
|
|
actions: tActions,
|
|
|
actionDelete: tActionDelete,
|
|
|
actionUpload: tActionUpload,
|
|
|
actionZoom: tActionZoom,
|
|
|
actionDrag: tActionDrag,
|
|
|
- actionIndicator: tActionInd,
|
|
|
btnDefault: tBtnDefault,
|
|
|
btnLink: tBtnLink,
|
|
|
btnBrowse: tBtnBrowse,
|
|
@@ -2981,7 +2981,7 @@
|
|
|
var self = this, config = self.fileActionSettings, rem = config.showRemove, drg = config.showDrag,
|
|
|
upl = config.showUpload, zoom = config.showZoom, out, template = self._getLayoutTemplate('footer'),
|
|
|
ind = isError ? config.indicatorError : config.indicatorNew,
|
|
|
- tInd = self._getLayoutTemplate('actionIndicator'),
|
|
|
+ tInd = self._getLayoutTemplate('indicator'),
|
|
|
title = isError ? config.indicatorErrorTitle : config.indicatorNewTitle,
|
|
|
indicator = tInd.replace(/\{indicator}/g, ind).replace(/\{indicatorTitle}/g, title);
|
|
|
size = self._getSize(size);
|