diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-04 09:08:22 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-04 09:08:22 -0500 |
commit | 187f96b9ad90ed000f7f8b2c11e2530e400407b2 (patch) | |
tree | 73b16520805ed151075f6d8bf59b563fc284e5dc /src | |
parent | 951a7169ab7df8a9b5a41fa162607cd972457ee4 (diff) | |
download | pfsense-187f96b9ad90ed000f7f8b2c11e2530e400407b2.zip pfsense-187f96b9ad90ed000f7f8b2c11e2530e400407b2.tar.gz |
Correct "noWrap" in text areas. (Function is not actually used by anyone, but it might as well work just in case.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/classes/Form/Textarea.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/classes/Form/Textarea.class.php b/src/usr/local/www/classes/Form/Textarea.class.php index 1ca879e..1f4938a 100644 --- a/src/usr/local/www/classes/Form/Textarea.class.php +++ b/src/usr/local/www/classes/Form/Textarea.class.php @@ -51,7 +51,7 @@ class Form_Textarea extends Form_Input public function setNoWrap() { - $this->_attributes['wrap'] = 'none'; + $this->_attributes['style'] = 'white-space: nowrap; width: auto;'; return $this; } |