00e910064f87c02ee4082ed3c99e873ea3056fed tdreszer Wed May 14 12:18:48 2014 -0700 Polished for jshint. Minor reformatting. Fixed atleast one bug. diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js index 9b1e5e9..ced070e 100644 --- src/hg/js/ddcl.js +++ src/hg/js/ddcl.js @@ -1,697 +1,543 @@ // The "ddcl" object that contains all the DDCL extension/support code. // DDCL: drop-down checkbox-list wrapper code to ui.dropdownchecklist.js jQuery widget. // The reason for extension/support code beyond the jquery widget is that // We have changed some widget functionality: // - Closed control show all currently selected options in multiple lines with CSS // - Open control can gray out invalid choices // NOTE: // Currently tied to ui.dropdownchecklist.js v1.3, with 2 "UCSC" changes: // - Chrome multi-select required changing ddcl code as per issue 176. // - IE needed special code to block window.resize event in DDCL. // *** v1.4 has been released which works with jquery 1.6.1 *** // Some useful names defined: // ddcl: This object just contains these supporting functions in one package. // multiSelect: original +// and ddcl 'filterBy' controls with additional classes 'filterTable' and the category, +// and contains options with the the value to be filtered. +// Also, the ddcl objects onChange event must call filterTable.filter(this) +// eg: