[interchange-cvs] interchange - heins modified 2 files

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Tue Apr 2 16:02:01 2002


User:      heins
Date:      2002-04-02 21:01:32 GMT
Modified:  dist/lib/UI/pages/admin item_edit.html flex_editor.html
Log:
	* Add __UI_CLONE_TABLES__ reference to allow pre-checking of boxes
	  for cloning. Not put in __UI_ITEM_TABLES__ because of possible
	  interaction; also allows separation.

	* Works in conjunction with [table-editor ] change.

Revision  Changes    Path
2.2       +1 -1      interchange/dist/lib/UI/pages/admin/item_edit.html


rev 2.2, prev_rev 2.1
Index: item_edit.html
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/pages/admin/item_edit.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- item_edit.html	14 Sep 2001 09:59:10 -0000	2.1
+++ item_edit.html	2 Apr 2002 21:01:32 -0000	2.2
@@ -49,7 +49,7 @@
 			$CGI->{item_id} = $db->autonumber();
 		}
 		if ($CGI->{ui_clone_id}) {
-			$CGI->{ui_clone_tables} = '__UI_ITEM_TABLES__';
+			$CGI->{ui_clone_tables} = '__UI_CLONE_TABLES__' || '__UI_ITEM_TABLES__';
 			my $db = $Db{$CGI->{mv_data_table}} or return;
 			return unless $db->record_exists($CGI->{ui_clone_id});
 			my $ref = $db->row_hash($CGI->{ui_clone_id});



2.3       +1 -1      interchange/dist/lib/UI/pages/admin/flex_editor.html


rev 2.3, prev_rev 2.2
Index: flex_editor.html
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/pages/admin/flex_editor.html,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- flex_editor.html	9 Oct 2001 22:32:52 -0000	2.2
+++ flex_editor.html	2 Apr 2002 21:01:32 -0000	2.3
@@ -58,7 +58,7 @@
 			$CGI->{item_id} = $db->autonumber();
 		}
 		if ($CGI->{ui_clone_id}) {
-			$CGI->{ui_clone_tables} = '__UI_ITEM_TABLES__';
+			$CGI->{ui_clone_tables} = '__UI_CLONE_TABLES__' || '__UI_ITEM_TABLES__';
 			my $db = $Db{$CGI->{mv_data_table}} or return;
 			return unless $db->record_exists($CGI->{ui_clone_id});
 			my $ref = $db->row_hash($CGI->{ui_clone_id});