Commit 435cf060 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 332995: Steps to Reproduce not removed from comment when user leaves default…

Bug 332995: Steps to Reproduce not removed from comment when user leaves default content (steps without blanks) - Patch by Teemu Mannermaa <wicked@sci.fi> r/a=LpSolit
parent 70aabcf4
...@@ -36,7 +36,7 @@ Build Identifier: [%+ cgi.param("buildid") %] ...@@ -36,7 +36,7 @@ Build Identifier: [%+ cgi.param("buildid") %]
Reproducible: [%+ cgi.param("reproducible") %] Reproducible: [%+ cgi.param("reproducible") %]
[% END %] [% END %]
[% IF !(cgi.param("reproduce_steps").match('^1\.\s+2\.\s+3\.\s+$') || cgi.param("reproduce_steps").match('^\s*$')) %] [% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %]
Steps to Reproduce: Steps to Reproduce:
[%+ cgi.param("reproduce_steps") %] [%+ cgi.param("reproduce_steps") %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment