Default filter for merchant.
This commit is contained in:
@@ -48,6 +48,10 @@ var CardFilter = Class.extend({
|
||||
this.getCollection();
|
||||
},
|
||||
|
||||
setType: function(typeValue) {
|
||||
$("#type").val(typeValue);
|
||||
},
|
||||
|
||||
buildUi: function(elem) {
|
||||
var that = this;
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@ var GempLotrMerchantUI = Class.extend({
|
||||
function() {
|
||||
that.finishList();
|
||||
});
|
||||
this.cardFilter.setType("card");
|
||||
this.cardFilter.setFilter("type:card");
|
||||
|
||||
this.cardsDiv = cardListElem;
|
||||
this.cardsGroup = new NormalCardGroup(this.cardsDiv, function(card) {
|
||||
|
||||
Reference in New Issue
Block a user