Browse Source

Oops, text inputs never had a type attribute!

pdontthink 21 năm trước cách đây
mục cha
commit
4c2ad2499b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/options.php

+ 1 - 1
functions/options.php

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