mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
code cleanup.
This commit is contained in:
@@ -73,11 +73,9 @@ define([
|
||||
|
||||
icon.removeClass('icon-search').addClass('icon-spin icon-spinner disabled');
|
||||
|
||||
var self = this;
|
||||
|
||||
this.collection.fetch({
|
||||
data:$.param({ term:this.ui.searchText.val() }),
|
||||
success:function (model) {
|
||||
data:{ term:this.ui.searchText.val() },
|
||||
success:function () {
|
||||
icon.removeClass('icon-spin icon-spinner disabled').addClass('icon-search');
|
||||
|
||||
},
|
||||
@@ -116,8 +114,7 @@ define([
|
||||
},
|
||||
|
||||
refreshItems:function () {
|
||||
this.collection.importItems(this.model, qualityProfileCollection);
|
||||
|
||||
this.collection.importItems(this.model);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user