app/assets/javascripts/spree/backend/user_picker.js in spree_backend-2.4.10 vs app/assets/javascripts/spree/backend/user_picker.js in spree_backend-3.0.0.rc1
- old
+ new
@@ -14,12 +14,11 @@
ajax: {
url: Spree.routes.user_search,
datatype: 'json',
data: function (term) {
return {
- q: term,
- token: Spree.api_key
+ q: term
};
},
results: function (data) {
return {
results: data
@@ -35,6 +34,6 @@
});
};
$(document).ready(function () {
$('.user_picker').userAutocomplete();
-});
+});
\ No newline at end of file