Skip to content

Commit

Permalink
use AbstractWidget#doRequest in distributed widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Jul 6, 2012
1 parent aa7853e commit ea28914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions widgets/jquery/AutocompleteTermWidget.js
Expand Up @@ -112,7 +112,7 @@ AjaxSolr.AutocompleteTermWidget = AjaxSolr.AbstractTextWidget.extend(
if (e.which == 13) {
var q = $(this).val();
if (self.set(q)) {
self.manager.doRequest(0);
self.doRequest();
}
}
});
Expand Down Expand Up @@ -162,7 +162,7 @@ AjaxSolr.AutocompleteTermWidget = AjaxSolr.AbstractTextWidget.extend(
minLength: this.minLength,
select: function(event, ui) {
if (self.set(ui.item.value)) {
self.manager.doRequest(0);
self.doRequest();
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion widgets/jquery/PagerWidget.js
Expand Up @@ -184,7 +184,7 @@ AjaxSolr.PagerWidget = AjaxSolr.AbstractWidget.extend(
var self = this;
return function () {
self.manager.store.get('start').val((page - 1) * self.perPage());
self.manager.doRequest();
self.doRequest();
return false;
}
},
Expand Down

0 comments on commit ea28914

Please sign in to comment.