[interchange-cvs] interchange - heins modified
lib/Vend/Table/Editor.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Fri Dec 12 00:30:35 EST 2003
User: heins
Date: 2003-12-12 05:30:35 GMT
Modified: lib/Vend/Table Editor.pm
Log:
* Fix missing relocation variables found by Paul.
Revision Changes Path
1.46 +4 -4 interchange/lib/Vend/Table/Editor.pm
rev 1.46, 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.46
diff -u -r1.45 -r1.46
--- Editor.pm 10 Dec 2003 21:26:09 -0000 1.45
+++ Editor.pm 12 Dec 2003 05:30:35 -0000 1.46
@@ -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.46 2003/12/12 05:30:35 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.45 $, 10);
+$VERSION = substr(q$Revision: 1.46 $, 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