From 6357223bd1a8d5ce8d3658e5940aa71e663cf033 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 03 Mar 2012 13:32:31 -0500
Subject: [PATCH] Fix spelling

---
 program/js/app.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index ca73db5..430d92d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -277,13 +277,13 @@
           if (this.gui_objects.contactslist) {
             this.contact_list = new rcube_list_widget(this.gui_objects.contactslist,
               { multiselect:true, draggable:false, keyboard:false });
-            this.contact_list.addEventListener('select', function(o){ ref.compose_recipeint_select(o); });
+            this.contact_list.addEventListener('select', function(o){ ref.compose_recipient_select(o); });
             this.contact_list.addEventListener('dblclick', function(o){ ref.compose_add_recipient('to'); });
             this.contact_list.init();
           }
 
-          if (this.gui_objects.adressbookslist) {
-            this.gui_objects.folderlist = this.gui_objects.adressbookslist;
+          if (this.gui_objects.addressbookslist) {
+            this.gui_objects.folderlist = this.gui_objects.addressbookslist;
             this.enable_command('list-adresses', true);
           }
         }
@@ -2998,7 +2998,7 @@
       .attr('autocomplete', 'off');
   };
   
-  this.compose_recipeint_select = function(list)
+  this.compose_recipient_select = function(list)
   {
     this.enable_command('add-recipient', list.selection.length > 0);
   };

--
Gitblit v1.9.1