Ignore:
Timestamp:
Jan 22, 2007, 2:15:31 PM (16 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #431: Multiple tables from the Table taglib on the same HTML page interfere with each other

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/columns/configure.jsp

    r2978 r3077  
    5959  <base:head>
    6060    <script language="JavaScript">
     61    var tableId = '<%=tableId%>';
    6162
    6263    // Initialise the visible and hidden column lists
     
    7475
    7576      // All column definitions
    76       var columnDefs = window.opener.Table.columns;
     77      var columnDefs = window.opener.Table.getColumnDefs(tableId);
    7778
    7879      // Put all column in the hidden or visible list
     
    131132    {
    132133      var moved = 0;
    133       var columnDefs = window.opener.Table.columns;
     134      var columnDefs = window.opener.Table.getColumnDefs(tableId);
    134135      for(i=0; i < list1.options.length; i++) // >
    135136      {
     
    178179      if (columns == '_minimal_')
    179180      {
    180         var columnDefs = window.opener.Table.columns;
     181        var columnDefs = window.opener.Table.getColumnDefs(tableId);
    181182        var temp = new Array();
    182183        for (var i = 0; i < columnDefs.length; i++) // >
Note: See TracChangeset for help on using the changeset viewer.