diff options
author | Byron Jones <bjones@mozilla.com> | 2012-04-30 14:43:29 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-04-30 14:43:29 +0800 |
commit | 8837967f9754641c7cf4a9bf2a5bc6e73244df15 (patch) | |
tree | ebe9cb0b745faefe38cae7aebcdedfa2b77c098e /template | |
parent | fb2f6bd8ca4ed8879f82a2764d63d51a06670477 (diff) | |
download | bugs-8837967f9754641c7cf4a9bf2a5bc6e73244df15.tar bugs-8837967f9754641c7cf4a9bf2a5bc6e73244df15.tar.gz bugs-8837967f9754641c7cf4a9bf2a5bc6e73244df15.tar.bz2 bugs-8837967f9754641c7cf4a9bf2a5bc6e73244df15.tar.xz bugs-8837967f9754641c7cf4a9bf2a5bc6e73244df15.zip |
Bug 749074: Throw an error message instead of syntax error on invalid search type operators
r=LpSolit,a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 19d062841..9fd326051 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -453,6 +453,10 @@ [% ELSIF error == "invalid_post_bug_submit_action" %] Invalid setting for post_bug_submit_action + [% ELSIF error == "search_field_operator_unsupported" %] + [% terms.Bugzilla %] does not support the search type + "[% operator FILTER html %]". + [% ELSE %] [%# Try to find hooked error messages %] [% error_message = Hook.process("errors") %] |