ui: заменить оставшиеся боковые панели на центрированные popup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -530,9 +530,9 @@ document.addEventListener('keydown', function (ev) {
|
||||
itModelsDismiss();
|
||||
return;
|
||||
}
|
||||
['it-equipment-panel', 'it-worklog-panel'].forEach(function (id) {
|
||||
var el = document.getElementById(id);
|
||||
if (el && el.style.display === 'flex') itPanelClose(id);
|
||||
document.querySelectorAll('[id^="it-"][role="dialog"]').forEach(function (el) {
|
||||
if (el.id === 'it-equipment-models-panel' || el.id === 'it-report-preview-modal') return;
|
||||
if (el.style.display === 'flex') itPanelClose(el.id);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user