summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-02-18 01:23:45 +0000
committerScott González <scott.gonzalez@gmail.com>2010-02-18 01:23:45 +0000
commit071dc670b705f20867adc4f6127e74cfe22ba87d (patch)
tree11e99bd0d43cb8bb635d89cacef30e129bb4d3a2
parent53ab4fb5de2c252686973d46eaba1bb2a34bceb8 (diff)
downloadjquery-ui-071dc670b705f20867adc4f6127e74cfe22ba87d.tar.gz
jquery-ui-071dc670b705f20867adc4f6127e74cfe22ba87d.zip
Autocomplete: Fixed bug with bgiframe usage.
Fixes #5196 - Autocomplete: "menu is not defined" error when using with bgiframe. Thanks Demphest
-rw-r--r--ui/jquery.ui.autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 4e7e50e15..ee923b2f4 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -128,7 +128,7 @@ $.widget( "ui.autocomplete", {
.hide()
.data( "menu" );
if ( $.fn.bgiframe ) {
- menu.element.bgiframe();
+ this.menu.element.bgiframe();
}
},