[interchange-cvs] interchange - heins modified
lib/Vend/Table/Editor.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Jul 19 19:42:00 EDT 2003
User: heins
Date: 2003-07-19 22:42:56 GMT
Modified: lib/Vend/Table Editor.pm
Log:
* Allow hidden fields to come from all_opts again (was disrupting
surveys).
Revision Changes Path
1.39 +10 -2 interchange/lib/Vend/Table/Editor.pm
rev 1.39, prev_rev 1.38
Index: Editor.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/Editor.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- Editor.pm 15 Jul 2003 02:06:05 -0000 1.38
+++ Editor.pm 19 Jul 2003 22:42:56 -0000 1.39
@@ -1,6 +1,6 @@
# Vend::Table::Editor - Swiss-army-knife table editor for Interchange
#
-# $Id: Editor.pm,v 1.38 2003/07/15 02:06:05 jon Exp $
+# $Id: Editor.pm,v 1.39 2003/07/19 22:42:56 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 2002 Mike Heins <mike at perusion.net>
@@ -26,7 +26,7 @@
package Vend::Table::Editor;
use vars qw($VERSION);
-$VERSION = substr(q$Revision: 1.38 $, 10);
+$VERSION = substr(q$Revision: 1.39 $, 10);
use Vend::Util;
use Vend::Interpolate;
@@ -1731,7 +1731,15 @@
}
}
+ my $regin = $opt->{all_opts} ? 1 : 0;
+
resolve_options($opt, undef, $data);
+
+ if($regin) {
+ ## Must reset these in case they get set from all_opts.
+ $hidden = $opt->{hidden};
+ }
+
$table = $opt->{table};
$key = $opt->{item_id};
if($opt->{save_meta}) {
More information about the interchange-cvs
mailing list