BUG 6826 Adjustment date component grids, for proper viewing. (fixes)
The hector solution was causing others problems in grids but it is fixed now
This commit is contained in:
@@ -3314,7 +3314,6 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
|
||||
} else {
|
||||
$id = 'form[' . $owner->name . '][' . $r . '][' . $this->name . ']';
|
||||
$html = $this->__draw_widget ( $id, $v, $owner );
|
||||
$html = '<div style="white-space:nowrap;">' . $html . '</div>';
|
||||
}
|
||||
} else {
|
||||
$html = $v;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<td class='GridLabel'> {$smarty.section.row.index+1} </td>
|
||||
{/literal}
|
||||
{foreach from=$form->fields item=field}
|
||||
<td style="">{$field->field}</td>
|
||||
<td style="white-space:nowrap;">{$field->field}</td>
|
||||
{/foreach}
|
||||
{if $form->deleteRow == '1' }
|
||||
<td align="center"><A class="GridLink" href="#" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').deleteGridRow('[{literal}{$smarty.section.row.index+1}{/literal}]');return false;">{$form->DeleteLabel}</A> </td>
|
||||
|
||||
Reference in New Issue
Block a user