[freeside-commits] freeside/httemplate/edit/elements edit.html, 1.39, 1.40
Ivan,,,
ivan at wavetail.420.am
Mon Dec 28 11:18:22 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv11618/httemplate/edit/elements
Modified Files:
edit.html
Log Message:
beginning of prospect/CRM/contact work
Index: edit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/edit.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- edit.html 18 Sep 2009 19:28:59 -0000 1.39
+++ edit.html 28 Dec 2009 19:18:20 -0000 1.40
@@ -409,7 +409,7 @@
% $label[0] = '/elements/tr-td-label.html';
<% include( @label ) %>
- <TD>
+ <TD COLSPAN="<% $f->{'colspan'} || 1 %>">
<% include( @existing ) %>
</TD>
@@ -465,7 +465,7 @@
% $label[0] = '/elements/tr-td-label.html';
<% include( @label ) %>
- <TD>
+ <TD COLSPAN="<% $f->{'colspan'} || 1 %>">
<% include( @include ) %>
</TD>
@@ -503,7 +503,7 @@
// only spawn if we're the last element... return if not
- var field_regex = /(\d+)$/;
+ var field_regex = /(\d+)(_[a-z]+)?$/;
var match = field_regex.exec(what.name);
if ( !match ) {
alert(what.name + " didn't match?!");
@@ -574,6 +574,7 @@
widget_cell.style.borderTop = "1px solid black";
widget_cell.style.paddingTop = "3px";
+ widget_cell.colSpan = "<% $f->{'colspan'} || 1 %>"
widget_cell.innerHTML = newrow;
More information about the freeside-commits
mailing list