Scrolltable.js is dependent on datalist.js
Brought to you by:
bastafidli
Scrolltable.js contains method
function selectRowsById(
strScrollableTableId,
strTableElementId,
strItemIDs
)
which contains method
setSelectedIDs(arSelectedRowIDs[iTableIndex]);
which is defined in datalist.js. This creates dependency
between these two files even though scrolltable.js
should not be on datalist.js. The call should be most
likely
moved to tableonselchange in datalist.jsp or in some
other js/jsp file. Also I am not sure why/if it is
necessary since other files do not need it to populate
the selected_ids when selection changes.