summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js8
-rw-r--r--program/steps/mail/compose.inc6
2 files changed, 7 insertions, 7 deletions
diff --git a/program/js/app.js b/program/js/app.js
index ca73db57c..430d92daf 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -277,13 +277,13 @@ function rcube_webmail()
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 @@ function rcube_webmail()
.attr('autocomplete', 'off');
};
- this.compose_recipeint_select = function(list)
+ this.compose_recipient_select = function(list)
{
this.enable_command('add-recipient', list.selection.length > 0);
};
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index d5356e0cf..8c3e61183 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -1519,7 +1519,7 @@ function get_form_tags($attrib)
}
-function rcmail_adressbook_list($attrib = array())
+function rcmail_addressbook_list($attrib = array())
{
global $RCMAIL, $OUTPUT;
@@ -1548,7 +1548,7 @@ function rcmail_adressbook_list($attrib = array())
$js_id, (!empty($source['name']) ? Q($source['name']) : Q($id)));
}
- $OUTPUT->add_gui_object('adressbookslist', $attrib['id']);
+ $OUTPUT->add_gui_object('addressbookslist', $attrib['id']);
return html::tag('ul', $attrib, $out, html::$common_attrib);
}
@@ -1584,7 +1584,7 @@ $OUTPUT->add_handlers(array(
'receiptcheckbox' => 'rcmail_receipt_checkbox',
'dsncheckbox' => 'rcmail_dsn_checkbox',
'storetarget' => 'rcmail_store_target_selection',
- 'adressbooks' => 'rcmail_adressbook_list',
+ 'addressbooks' => 'rcmail_addressbook_list',
'addresslist' => 'rcmail_contacts_list',
));