mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Add icons to team drive download action buttons
This commit is contained in:
parent
7867125563
commit
24e8233c66
@ -504,17 +504,18 @@ define([
|
||||
});
|
||||
};
|
||||
|
||||
var download = h('button.btn.btn-primary', Messages.download_mt_button);
|
||||
var download = h('button.btn.btn-primary', [Icons.get('download'), Messages.download_mt_button]);
|
||||
var completed = false;
|
||||
var complete = function(h, err) {
|
||||
if (completed) { return; }
|
||||
completed = true;
|
||||
$(progress).find('svg').empty().append(Icons.get('checked-box'));
|
||||
$(cancel).text(Messages.filePicker_close).off('click').click(function() {
|
||||
$(cancel).empty().append(Icons.get('close'), Messages.filePicker_close).off('click').click(function() {
|
||||
_onCancel.forEach(function(h) { h(); });
|
||||
});
|
||||
$(download).click(h).appendTo(actions);
|
||||
addErrors(err);
|
||||
Lucide.createIcons();
|
||||
};
|
||||
|
||||
var done = {};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user