Authored by xuqi

brand multi-select logic.Review by:@xuqi

@@ -105,7 +105,7 @@ $brandMulti.click(function() { @@ -105,7 +105,7 @@ $brandMulti.click(function() {
105 if ($brandPanel.css('display') === 'none') { 105 if ($brandPanel.css('display') === 'none') {
106 106
107 //显示品牌面板 107 //显示品牌面板
108 - brandShowMore(); 108 + $brandMore.trigger('click');
109 } 109 }
110 110
111 $brandPanel.addClass('multi'); //显示出checkbox 111 $brandPanel.addClass('multi'); //显示出checkbox
@@ -178,9 +178,9 @@ $('.multi-select-cancel').click(function() { @@ -178,9 +178,9 @@ $('.multi-select-cancel').click(function() {
178 var $panel = $(this).closest('.multi'); 178 var $panel = $(this).closest('.multi');
179 179
180 if ($panel.hasClass('brand-panel')) { 180 if ($panel.hasClass('brand-panel')) {
181 - brandHideMore();  
182 181
183 $brandMulti.removeClass('hide'); //显示多选按钮 182 $brandMulti.removeClass('hide'); //显示多选按钮
  183 + $brandMore.trigger('click');
184 } 184 }
185 185
186 $panel.removeClass('multi'); 186 $panel.removeClass('multi');