R31614 - /branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php

Author: ralfbecker
New Revision: 31614

URL: http://www.egroupware.org/viewvc/egroupware?rev=31614&view=rev
Log:
set span & class from original cell for single fields

Modified:
branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php

Modified: branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php?rev=31614&r1=31613&r2=31614&view=diff

— branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php (original)
+++ branches/etemplate2/etemplate/inc/class.customfields_widget.inc.php Thu Aug 5 17:37:14 2010
@@ -436,6 +436,7 @@
}
if ($singlefield) // a single field, can & need to be returned instead of the cell (no grid)
{

  •   				$input['span'] = $cell['span'];	// set span & class from original cell
      				$cell = $input;
      				if ($type == 'customfields') $cell['label'] = $field['label'];
      				return true;
    

The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs