| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -21,7 +21,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.$el.append(this.typeahead_view.el);
 | 
					 | 
					 | 
					 | 
					            this.$el.append(this.typeahead_view.el);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.initNewContact();
 | 
					 | 
					 | 
					 | 
					            this.initNewContact();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            //this.listenTo(this.collection, 'reset', this.filterContacts);
 | 
					 | 
					 | 
					 | 
					            //this.listenTo(this.collection, 'reset', this.filterContacts);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					            this.pending = Promise.resolve();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        events: {
 | 
					 | 
					 | 
					 | 
					        events: {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -38,9 +38,11 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else {
 | 
					 | 
					 | 
					 | 
					                } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.new_contact_view.$el.hide();
 | 
					 | 
					 | 
					 | 
					                    this.new_contact_view.$el.hide();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }
 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.typeahead.search(query).then(function() {
 | 
					 | 
					 | 
					 | 
					                this.pending = this.pending.then(function() {
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    return this.typeahead.search(query).then(function() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        this.typeahead_view.collection.reset(this.typeahead.models);
 | 
					 | 
					 | 
					 | 
					                        this.typeahead_view.collection.reset(this.typeahead.models);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    }.bind(this));
 | 
					 | 
					 | 
					 | 
					                    }.bind(this));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                }.bind(this));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.trigger('show');
 | 
					 | 
					 | 
					 | 
					                this.trigger('show');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } else {
 | 
					 | 
					 | 
					 | 
					            } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.resetTypeahead();
 | 
					 | 
					 | 
					 | 
					                this.resetTypeahead();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |