summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed%reedloden.com <>2007-12-03 05:30:53 +0100
committerreed%reedloden.com <>2007-12-03 05:30:53 +0100
commitbd925e1bdbb7037ae7480a80596bc6e7a5b4f692 (patch)
tree1eb8935a8193d38ac623c4eca2eeba765b4d0ad4
parentb4478793ab93465c587e83c17a68b4d1da5c0a84 (diff)
downloadbugzilla-bd925e1bdbb7037ae7480a80596bc6e7a5b4f692.tar.gz
bugzilla-bd925e1bdbb7037ae7480a80596bc6e7a5b4f692.tar.xz
Bug 389983 - "Enable spellchecking in the summary field" [p=reed r+a=justdave]
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl2
-rw-r--r--template/en/default/bug/create/create.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl6
3 files changed, 6 insertions, 4 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index 6953c84ef..701658982 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -316,7 +316,7 @@ function PutDescription() {
</td>
<td valign="top">
<input type="text" size="80" name="short_desc" id="short_desc"
- maxlength="255">
+ maxlength="255" spellcheck="true">
<p>
A sentence which summarises the problem.
Please be descriptive and use lots of keywords.
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index cfe277078..8bc4ab465 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -435,7 +435,7 @@ function handleWantsAttachment(wants_attachment) {
<th>Summary:</th>
<td colspan="2">
<input name="short_desc" size="60" value="[% short_desc FILTER html %]"
- maxlength="255">
+ maxlength="255" spellcheck="true">
</td>
<td>&nbsp;</td>
</tr>
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index e2ce068e4..1f20cdb52 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -157,7 +157,7 @@
<label for="short_desc" accesskey="s"><b><u>S</u>ummary</b></label>:
</td>
[% PROCESS input inputname => "short_desc" size => "60" colspan => 2
- maxlength => 255 %]
+ maxlength => 255 spellcheck => "true" %]
</tr>
<tr>
@@ -850,7 +850,8 @@
<input id="[% inputname %]" name="[% inputname %]"
value="[% val FILTER html %]"[% " size=\"$size\"" IF size %]
[% " maxlength=\"$maxlength\"" IF maxlength %]
- [% " onfocus=\"$onfocus\"" IF onfocus %]>
+ [% " onfocus=\"$onfocus\"" IF onfocus %]
+ [% " spellcheck=\"$spellcheck\"" IF spellcheck %]>
[% ELSE %]
<input type="hidden" name="[% inputname %]" id="[% inputname %]"
value="[% val FILTER html %]">
@@ -868,6 +869,7 @@
[% size = 0 %]
[% value = undef %]
[% onfocus = undef %]
+ [% spellcheck = undef %]
[% END %]
[%############################################################################%]