Finally got the tables to scroll independently and fill the remaining page height. Still working on Item's alias list controls, and getting key events associated with tables and lists.

This commit is contained in:
Wynne Crisman
2016-11-20 19:55:53 -08:00
parent 4315418aa1
commit 801c0507e5
8 changed files with 354 additions and 259 deletions

View File

@@ -93,8 +93,17 @@
case 9: //Tab
_this.select(_this.$list.find('li.selected'));
case 27: //Esc
_this.hide();
break;
if(_this.$input.hasClass('open')) {
_this.hide();
//Try to stop any default behavior from occurring.
if(event.stopPropagation) event.stopPropagation();
else event.cancelBubble = true; //IE 6-8
event.preventDefault();
return false;
}
else {
return true;
}
default:
_this.filter();
_this.highlight(0);