From 687f6b0a16ac4d985a71dc3aa7acd7a0dbe3d80f Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 28 Nov 2008 12:24:02 +0000 Subject: [PATCH] fixed bug with the multiple category adding (no category select dialog appeared) --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index b8eac299a7..901b9e96e3 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1964,7 +1964,7 @@ $readonlys['button[vcard]'] = true; if (selbox.value == "infolog_add" && (ids = get_selected(selbox.form,"[rows][checked][]")) && !document.getElementById("exec[use_all]").checked) { win=window.open("'.egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=task&action=addressbook&action_id=').'"+ids,"_blank","width=750,height=550,left=100,top=200"); win.focus(); - } else if (this.value == "cat_add") { + } else if (selbox.value == "cat_add") { win=window.open("'.egw::link('/etemplate/process_exec.php','menuaction=addressbook.addressbook_ui.cat_add').'","_blank","width=300,height=400,left=100,top=200"); win.focus(); } else {