mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-11 21:32:58 +02:00
fix(torrents): fixed reset torrent search tags issue
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
vm.searchKey = '';
|
||||
vm.releaseYear = undefined;
|
||||
vm.filterHnR = false;
|
||||
vm.filterSale = false;
|
||||
vm.torrentStatus = 'reviewed';
|
||||
vm.torrentRLevel = 'none';
|
||||
|
||||
@@ -231,7 +232,14 @@
|
||||
vm.clearAllCondition = function () {
|
||||
vm.searchKey = '';
|
||||
vm.searchTags = [];
|
||||
$('.btn-tag').removeClass('btn-success').addClass('btn-default');
|
||||
$('.more-tags .btn-tag').removeClass('btn-success').addClass('btn-default');
|
||||
vm.filterVIP = isSelectedVipType(vm.selectedType);
|
||||
vm.releaseYear = undefined;
|
||||
vm.filterHnR = false;
|
||||
vm.filterSale = false;
|
||||
vm.torrentStatus = 'reviewed';
|
||||
vm.torrentRLevel = 'none';
|
||||
|
||||
|
||||
vm.torrentBuildPager();
|
||||
};
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
vm.searchKey = '';
|
||||
vm.releaseYear = undefined;
|
||||
vm.filterHnR = false;
|
||||
vm.filterSale = false;
|
||||
|
||||
uibButtonConfig.activeClass = 'btn-success';
|
||||
|
||||
@@ -304,6 +305,9 @@
|
||||
vm.searchKey = '';
|
||||
vm.searchTags = [];
|
||||
$('.btn-tag').removeClass('btn-success').addClass('btn-default');
|
||||
vm.releaseYear = undefined;
|
||||
vm.filterHnR = false;
|
||||
vm.filterSale = false;
|
||||
|
||||
vm.buildPager();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user