Browse Source

Oops, text inputs never had a type attribute!

pdontthink 21 years ago
parent
commit
4c2ad2499b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/options.php

+ 1 - 1
functions/options.php

@@ -208,7 +208,7 @@ class SquirrelOption {
                 $width = 25;
                 $width = 25;
         }
         }
 
 
-        $result = "<input name=\"new_$this->name\" value=\"" .
+        $result = "<input type=\"text\" name=\"new_$this->name\" value=\"" .
             htmlspecialchars($this->value) . 
             htmlspecialchars($this->value) . 
             "\" size=\"$width\" $this->script />\n";
             "\" size=\"$width\" $this->script />\n";
         return ($result);
         return ($result);