diff --git a/public/css/main.css b/public/css/main.css index ab8e7333..e548d76b 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -952,7 +952,7 @@ input.filelist-checkbox:checked + table.table-filelist { } .tr-actions { - width: 130px; + width: 140px; } .toolbar { diff --git a/public/js/selectAll.js b/public/js/selectAll.js index aca872a7..7516cba8 100644 --- a/public/js/selectAll.js +++ b/public/js/selectAll.js @@ -1,4 +1,5 @@ -$("[data-selectall='checkbox']").on("change", function(e) { - var form = $(this).parents("form"); - $(form).find("input[type='checkbox']").prop('checked', $(this).prop('checked')); +document.querySelector("[data-selectall='checkbox']").addEventListener("change", function(e) { + var cbs = document.querySelectorAll("input[type='checkbox'].selectable"); + var l = cbs.length; + for (var i=0; i {{ range .Models}} - + {{ .Name }} {{ if not .IsDeleted }}({{ call $.T "edit"}}){{end}} {{ if .Uploader }}{{ .Uploader.Username }}{{ else }}れんちょん{{end}}