From cfbf9c88682a0ba08b0712de5f8e3f3f792be1c3 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 11 Jun 2026 11:24:01 -0400 Subject: [PATCH 1/2] Bug 2046794 - Bugs cannot be updated if they contain a meta keyword after recent changes to show dependency tree inline --- template/en/default/bug/dependency-tree.html.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index c60348b2fd..a7344ae695 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -189,9 +189,13 @@
+ [%# When the tree has no open bugs, realdepth is 0. Floor max/value at 1 so the + # input always satisfies its own min/max constraints; otherwise an invalid + # control here would silently fail the embedding bug change form's checkValidity(). %] + [% input_max = realdepth > 0 ? realdepth : 1 %]