Default filter for merchant.

This commit is contained in:
marcins78@gmail.com
2012-04-11 14:42:14 +00:00
parent 7a4cf6022d
commit 9234a1f344
2 changed files with 6 additions and 0 deletions

View File

@@ -48,6 +48,10 @@ var CardFilter = Class.extend({
this.getCollection();
},
setType: function(typeValue) {
$("#type").val(typeValue);
},
buildUi: function(elem) {
var that = this;

View File

@@ -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) {