fix: add edit button for sub-item rows (curator only)

This commit is contained in:
Dauren777 2026-06-12 11:09:07 +00:00
parent 5b53b745b8
commit 839271a585

View File

@ -1168,7 +1168,7 @@ function renderEv(){
h+="<td style='font-size:11px'>"+esc(sr)+"</td>";
h+="<td style='font-size:11px'>"+e.due+"</td>";
h+="<td><span class='badge "+scl+"' style='font-size:10px'>"+stn[ss]+"</span></td>";
h+="<td><button class='btn btn-sm' style='padding:4px 10px;font-size:11px' onclick='openEv("+e.id+","+si+")'>Открыть</button></td></tr>"
h+="<td>"+(cu&&cu.bg===0?"<button class='btn btn-sm btn-o' style='padding:4px 7px;font-size:10px;margin-right:3px' onclick='editEventText("+e.id+")'>Ред.</button>":"")+"<button class='btn btn-sm' style='padding:4px 7px;font-size:10px' onclick='openEv("+e.id+","+si+")'>Откр.</button></td></tr>"
}
}
}