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:
Erik Amaru Ortiz
2011-05-13 11:28:32 -04:00
parent 43440c71de
commit a4db59dcd1
2 changed files with 1 additions and 2 deletions

View File

@@ -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;

View File

@@ -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>&nbsp;</td>