]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1568863 - Prefilled comment will be wiped after changing component
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 25 Jul 2019 16:01:39 +0000 (12:01 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2019 16:01:39 +0000 (12:01 -0400)
template/en/default/bug/create/create.html.tmpl

index ef4a700887a38d1413988c258eefd5834fc5cf6b..843da73606d42c78a56f2c9072c4903837d825ee 100644 (file)
@@ -74,7 +74,7 @@ function initCrashSignatureField() {
 
 const params = new URLSearchParams(location.search);
 let bug_type_specified = params.has('bug_type') || params.has('cloned_bug_id') || params.has('regressed_by');
-let desc_edited = false;
+let desc_edited = params.has('comment') || params.has('cloned_bug_id');
 
 var initialowners = new Array([% product.components.size %]);
 var last_initialowner;