]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 389983 - "Enable spellchecking in the summary field" [p=reed r+a=justdave]
authorreed%reedloden.com <>
Mon, 3 Dec 2007 04:30:53 +0000 (04:30 +0000)
committerreed%reedloden.com <>
Mon, 3 Dec 2007 04:30:53 +0000 (04:30 +0000)
template/en/default/bug/create/create-guided.html.tmpl
template/en/default/bug/create/create.html.tmpl
template/en/default/bug/edit.html.tmpl

index 6953c84efbe01b7fffd1e4d1c97cd78c87b4086a..70165898223334018adfb8885cb41869ed92ecde 100644 (file)
@@ -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.
index cfe27707894dea022e5581a6a80b8e77cec34b08..8bc4ab4655c538518e5b0f32627c4d64210b0819 100644 (file)
@@ -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>
index e2ce068e41fa81d2a38dd8c8130205866fd87664..1f20cdb525f38fbe3fa5057c1f07c72bd926b802 100644 (file)
                 <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>
        <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 %]">
   [% size = 0 %]
   [% value = undef %]
   [% onfocus = undef %]
+  [% spellcheck = undef %]
 [% END %]
 
 [%############################################################################%]