vendor/assets/javascripts/jquery.ui.autocomplete.js in jquery-ui-rails-0.2.0 vs vendor/assets/javascripts/jquery.ui.autocomplete.js in jquery-ui-rails-0.2.1
- old
+ new
@@ -1,11 +1,11 @@
//= require jquery.ui.core
//= require jquery.ui.widget
//= require jquery.ui.position
/*
- * jQuery UI Autocomplete 1.8.17
+ * jQuery UI Autocomplete 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -270,10 +270,12 @@
}
self.xhr = $.ajax({
url: url,
data: request,
dataType: "json",
- autocompleteRequest: ++requestIndex,
+ context: {
+ autocompleteRequest: ++requestIndex
+ },
success: function( data, status ) {
if ( this.autocompleteRequest === requestIndex ) {
response( data );
}
},