Revision 8b3bec89
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
js/kivi.ImageUpload.js | ||
---|---|---|
myfiles.forEach(file => filesize += file.size);
|
||
|
||
if (filesize > maxsize) {
|
||
M.flash(kivi.t8("filesize too big: ") + ns.format_si(filesize) + kivi.t8(" > ") + ns.format_si(maxsize));
|
||
M.flash(kivi.t8("filesize too big: ") + ns.format_si(filesize) + " > " + ns.format_si(maxsize));
|
||
$("#upload_modal").modal("close");
|
||
return;
|
||
}
|
templates/mobile_webpages/image_upload/local_list.html | ||
---|---|---|
|
||
<div id="upload_modal" class="modal">
|
||
<div class="modal-content">
|
||
<h4>[% 'Uploading' | $T8 %]</h4>
|
||
<h4>[% 'Uploading Data' | $T8 %]</h4>
|
||
|
||
<div id="upload_progress" class="progress">
|
||
<div class="indeterminate"></div>
|
Auch abrufbar als: Unified diff
Mobile: locales