]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
authorCorey Frang <gnarf@gnarf.net>
Fri, 29 Jul 2011 18:12:34 +0000 (13:12 -0500)
committerCorey Frang <gnarf@gnarf.net>
Fri, 29 Jul 2011 18:12:34 +0000 (13:12 -0500)
ui/jquery.ui.autocomplete.js

index 59caf625d3f933ee3d2837660874e5268030edba..09c3707f0ae9d977b020144e8c2b468be8156206 100644 (file)
@@ -63,7 +63,7 @@ $.widget( "ui.autocomplete", {
                                "aria-haspopup": "true"
                        })
                        .bind( "keydown.autocomplete", function( event ) {
-                               if ( self.options.disabled || self.element.prop( "readonly" ) ) {
+                               if ( self.options.disabled || self.element.prop( "readOnly" ) ) {
                                        suppressKeyPress = true;
                                        suppressInput = true;
                                        return;