Menu

#312 Scrolltable.js is dependent on datalist.js

CVS_Head
open
nobody
5
2013-02-20
2006-10-05
Miro Halas
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB