[interchange-cvs] interchange - jon modified lib/Vend/Table/Editor.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Mon Dec 15 17:19:48 EST 2003


User:      jon
Date:      2003-12-15 22:19:47 GMT
Modified:  lib/Vend/Table Tag: STABLE_5_0-branch Editor.pm
Log:
Merge changes from unstable 5.1 branch in version 1.46.

Revision  Changes    Path
No                   revision



No                   revision



1.45.2.1  +4 -4      interchange/lib/Vend/Table/Editor.pm


rev 1.45.2.1, prev_rev 1.45
Index: Editor.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/Editor.pm,v
retrieving revision 1.45
retrieving revision 1.45.2.1
diff -u -u -r1.45 -r1.45.2.1
--- Editor.pm	10 Dec 2003 21:26:09 -0000	1.45
+++ Editor.pm	15 Dec 2003 22:19:47 -0000	1.45.2.1
@@ -1,6 +1,6 @@
 # Vend::Table::Editor - Swiss-army-knife table editor for Interchange
 #
-# $Id: Editor.pm,v 1.45 2003/12/10 21:26:09 mheins Exp $
+# $Id: Editor.pm,v 1.45.2.1 2003/12/15 22:19:47 jon 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.45 $, 10);
+$VERSION = substr(q$Revision: 1.45.2.1 $, 10);
 
 use Vend::Util;
 use Vend::Interpolate;
@@ -712,8 +712,8 @@
 		var loc = ${vpf}divLocation[i]
 		// If in the selected row
 		if(loc >= firstTab && loc < (firstTab + ${vpf}tabsPerRow)) ${vpf}newLocation[i] = (loc - firstTab)
-		else if(loc < tabsPerRow) newLocation[i] = firstTab+(loc % tabsPerRow)
-		else newLocation[i] = loc
+		else if(loc < ${vpf}tabsPerRow) ${vpf}newLocation[i] = firstTab+(loc % ${vpf}tabsPerRow)
+		else ${vpf}newLocation[i] = loc
 	}
 	// Set tab positions & zIndex
 	// Update location








More information about the interchange-cvs mailing list