[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4515] branches/1.3/UI/lib/dynatable.html



Revision: 4515
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4515&view=rev
Author:   einhverfr
Date:     2012-03-21 09:54:28 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
Minor changes to dynatable to make submitted data more robust/easy to extract.

Modified Paths:
--------------
    branches/1.3/UI/lib/dynatable.html

Modified: branches/1.3/UI/lib/dynatable.html
===================================================================
--- branches/1.3/UI/lib/dynatable.html	2012-03-21 09:47:10 UTC (rev 4514)
+++ branches/1.3/UI/lib/dynatable.html	2012-03-21 09:54:28 UTC (rev 4515)
@@ -25,7 +25,7 @@
           <input id="<?lsmb COL.col_id ?>-<?lsmb loop.count ?>"
                type="text"
               class="<?lsmb COL.class ?>"
-               name="<?lsmb PFX _ COL.col_id ?>_<?lsmb loop.count ?>"
+               name="<?lsmb PFX _ COL.col_id _ '_' _ ROW.row_id ?>"
               value="<?lsmb ROW.${COL.col_id} ?>"
          />
          <?lsmb- ELSIF COL.type == 'checkbox';
@@ -57,7 +57,7 @@
                    END
           ?><a href="<?lsmb HREF ?>"><?lsmb ROW.${COL.col_id} ?></a>
          <?lsmb ELSIF COL.type == 'mirrored';
-         NAME = PFX _ ROW.${COL.col_id} _ '_' _ ROWCOUNT;
+         NAME = PFX _ ROW.${COL.col_id} _ '_' _ $ROW.row_id;
          ROW.${COL.col_id} ?>
          <input type="hidden" 
                name="<?lsmb NAME ?>" 
@@ -94,7 +94,7 @@
           <input id="<?lsmb COL.col_id ?>-<?lsmb loop.count ?>"
                type="text"
               class="<?lsmb COL.class ?>"
-               name="<?lsmb PFX _ COL.col_id ?>_<?lsmb loop.count ?>"
+               name="<?lsmb PFX _ COL.col_id _ 'tfoot_' _ loop.count ?>"
               value="<?lsmb ROW.${COL.col_id} ?>"
          />
          <?lsmb- ELSIF TYPE == 'checkbox';
@@ -126,7 +126,7 @@
                    END
           ?><a href="<?lsmb HREF ?>"><?lsmb ROW.${COL.col_id} ?></a>
          <?lsmb ELSIF TYPE == 'mirrored';
-         NAME = PFX _ ROW.${COL.col_id} _ '_' _ ROWCOUNT;
+         NAME = PFX _ ROW.${COL.col_id} _ '_' _ 'tfoot_' _ ROWCOUNT;
          ROW.${COL.col_id} ?>
          <input type="hidden" 
                name="<?lsmb NAME ?>" 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.