()
| 1593 | } |
| 1594 | |
| 1595 | function updateHeight() { |
| 1596 | var container = listState.container |
| 1597 | if (!container || container.children.length === 0) { |
| 1598 | window.ztools.setExpendHeight(0) |
| 1599 | return |
| 1600 | } |
| 1601 | var height = Math.min(container.scrollHeight, 541) |
| 1602 | window.ztools.setExpendHeight(height) |
| 1603 | } |
| 1604 | |
| 1605 | function doSelect() { |
| 1606 | var item = listState.items[listState.selectedIndex] |
no test coverage detected