1
0
mirror of synced 2025-02-16 20:13:16 +03:00

Added zindex options to dropdown so we can make sure it presents itself on top of whatever is existing in the DOM

This commit is contained in:
Pier-Olivier Thibault 2012-06-14 07:14:49 -04:00
parent 7d3ad2cd47
commit 277ae4ff5a

View File

@ -539,6 +539,7 @@
formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; },
minimumResultsForSearch: 0,
minimumInputLength: 0,
zIndex: 2000,
id: function (e) { return e.id; },
matcher: function(term, text) {
return text.toUpperCase().indexOf(term.toUpperCase()) >= 0;
@ -653,7 +654,8 @@
this.dropdown.css({
top: offset.top + height,
left: offset.left,
width: width
width: width,
"z-index": this.opts.zIndex
});
},