[freeside-commits] freeside/httemplate/edit/elements edit.html, 1.20, 1.21

Ivan,,, ivan at wavetail.420.am
Thu Jun 12 14:53:34 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv5562/httemplate/edit/elements

Modified Files:
	edit.html 
Log Message:
fix cloning w/new package editor

Index: edit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/edit.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- edit.html	16 Apr 2008 00:19:56 -0000	1.20
+++ edit.html	12 Jun 2008 21:53:32 -0000	1.21
@@ -91,7 +91,7 @@
     'agent_null_right' => 'Access Right Name',
    
     #run when re-displaying with an error
-    'error_callback' => sub { my( $cgi, $object, $fields_listref ) = @_; },
+    'error_callback' => sub { my( $cgi, $object, $fields_listref, $opt_hashref ) = @_; },
    
     #run when editing
     'edit_callback' => sub { my( $cgi, $object, $fields_listref ) = @_; },
@@ -548,7 +548,7 @@
     map { $_ => scalar($cgi->param($_)) } fields($table)
   });
 
-  &{$opt{'error_callback'}}($cgi, $object, $fields)
+  &{$opt{'error_callback'}}($cgi, $object, $fields, \%opt )
     if $opt{'error_callback'};
 
 } elsif ( $cgi->keywords || $cgi->param($pkey) ) { #editing



More information about the freeside-commits mailing list