summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-04 09:08:22 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-04 09:08:22 -0500
commit187f96b9ad90ed000f7f8b2c11e2530e400407b2 (patch)
tree73b16520805ed151075f6d8bf59b563fc284e5dc /src
parent951a7169ab7df8a9b5a41fa162607cd972457ee4 (diff)
downloadpfsense-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.php2
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;
}
OpenPOWER on IntegriCloud