修复遗漏的快捷键处理
This commit is contained in:
parent
d9a3076c0f
commit
fed77cf43e
@ -29,7 +29,7 @@ $this->registerCssFile('@web/css/home_style.css');
|
|||||||
<h1><?= Html::encode($this->title) ?></h1>
|
<h1><?= Html::encode($this->title) ?></h1>
|
||||||
<div>
|
<div>
|
||||||
<?= Html::button('下载', ['class' => 'btn btn-outline-primary single-download-btn']) ?>
|
<?= Html::button('下载', ['class' => 'btn btn-outline-primary single-download-btn']) ?>
|
||||||
<?= Html::button('下载', ['class' => 'btn btn-outline-primary batch-zip-download-btn']) ?>
|
<?= Html::button('打包下载', ['class' => 'btn btn-outline-primary batch-zip-download-btn']) ?>
|
||||||
<?= Html::button('压缩', ['class' => 'btn btn-outline-primary batch-zip-btn']) ?>
|
<?= Html::button('压缩', ['class' => 'btn btn-outline-primary batch-zip-btn']) ?>
|
||||||
<?= Html::button('解压', ['class' => 'btn btn-outline-primary unzip-btn']) ?>
|
<?= Html::button('解压', ['class' => 'btn btn-outline-primary unzip-btn']) ?>
|
||||||
<?= Html::button('重命名', ['class' => 'btn btn-outline-primary single-rename-btn']) ?>
|
<?= Html::button('重命名', ['class' => 'btn btn-outline-primary single-rename-btn']) ?>
|
||||||
|
@ -39,7 +39,7 @@ $('#folder-input').on('change', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '.offline-download-btn', function () {
|
$(document).on('click', '.offline-download-btn', function () {
|
||||||
console.log('你点击了离线下载,但功能尚未实现');
|
console.log('离线下载功能尚未实现');
|
||||||
//TO DO
|
//TO DO
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -218,6 +218,7 @@ document.addEventListener('keydown', function (event) {
|
|||||||
checkboxes[i].checked = selectAll.checked;
|
checkboxes[i].checked = selectAll.checked;
|
||||||
checkboxes[i].closest('tr').classList.toggle('selected', selectAll.checked);
|
checkboxes[i].closest('tr').classList.toggle('selected', selectAll.checked);
|
||||||
}
|
}
|
||||||
|
updateButtons();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user