|  | @@ -258,10 +258,12 @@ MaterioSearchApiAjax = function(){
 | 
	
		
			
				|  |  |    function initViewMode(){
 | 
	
		
			
				|  |  |      $('.viewmode-link').click(function(event){
 | 
	
		
			
				|  |  |        event.preventDefault();
 | 
	
		
			
				|  |  | -      
 | 
	
		
			
				|  |  | -      if(!$(this).is('.active'))
 | 
	
		
			
				|  |  | +      if(!$(this).is('.active')){
 | 
	
		
			
				|  |  | +        $(this).trigger({type:'vm-clicked'});
 | 
	
		
			
				|  |  |          changeViewMode($(this).attr('rel'), $(this));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +      }else{
 | 
	
		
			
				|  |  | +        $(this).trigger({type:'vm-clicked-active'});
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |        return false;
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |    };
 |