User tests: Successful: Unsuccessful:
See #5209 for issue details.
Create form with
<field name='description'
type="editor"
cols="5"
rows="5"
label='COM_NKCOMP_FIELD_GROUPTARGET_LABEL'
description='COM_NKCOMP_FIELD_DESC'
required="true"
buttons="false"
filter="JComponentHelper::filterText"
/>
When rendered in components administration view, the value for the attribute "cols" is not shown in the HTML output for the according textarea element.
Value for cols should be passed to HTML-Element.
Empty attribute in HTML-Element textarea: cols=""
Linux, Apache2, php 5.4
traced it down to libraries/cms/form/field/editor/editor.php line 249:
249c249
< $this->name, htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8'), $this->width, $this->height, $this->cols, $this->rows,
---
> $this->name, htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8'), $this->width, $this->height, $this->columns, $this->rows,
In JFormFieldTextarea is no class variable "cols" but a class variable "columns".
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Libraries |
Rel_Number | 0 | ⇒ | 5209 |
Relation Type | ⇒ | Pull Request for | |
Easy | No | ⇒ | Yes |
PR works as intended.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Looks like the php5.5 travis CI test needs to be re-run.
@photodude Thanks, I've restarted the job at Travis.
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-07-03 10:07:49 |
Closed_By | ⇒ | mbabker |
Labels |
Removed:
?
|
tested successful. Thanks
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7277.