this has been fixed on November 28. # 2008-11-28 Klaus Leithoff (leithoff) # r26472: fixed bug with the multiple category adding (no category select
dialog appeared)
branches/1.6/addressbook/inc/class.addressbook_ui.inc.php # r26471: fixed bug with the multiple category adding (no category select
dialog appeared)
trunk/addressbook/inc/class.addressbook_ui.inc.php
Hi
In 1.6 I go to the addressbook, tick several contacts and click 'Add or
delete
Categories’
The popup window doesn’t appear. The problem was in the javascript using
’this’
instead of ‘selbox’
The patch below fixes this and the typo in categories and, I hope, all the
translation files.
Nb - it wasn’t obvious what should happen here - the docs don’t mention
this
function and that there
should be a popup window with the categories to choose from.
David
diff --git a/addressbook/inc/class.addressbook_ui.inc.php
b/addressbook/inc/class.addressbook_ui.inc.php
index b8eac29…df9d140 100644
— a/addressbook/inc/class.addressbook_ui.inc.php
+++ b/addressbook/inc/class.addressbook_ui.inc.php
@@ -262,7 +262,7 @@ class addressbook_ui extends addressbook_bo
}
$sel_options[‘action’] += array(
‘merge’ => lang(‘Merge into first or account, deletes all other!’),
- ‘cat_add’ => lang(‘Add or delete Categoies’), // add a categirie to
multible
addresses
- ‘cat_add’ => lang(‘Add or delete Categories’), // add a category to
multible
addresses
’infolog_add’ => lang(‘Add a new Infolog’),
);
if ($GLOBALS[‘egw_info’][‘user’][‘apps’][‘infolog’])
@@ -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.infolo
g_ui.edit&type=task&action=addressbook&action_id=’).’"+ids,"_blank",
"widt
win.focus();
- } else if (this.value == “cat_add”) {
- } else if (selbox.value == “cat_add”) {
win=window.open("’.egw::link(’/etemplate/process_exec.php’,‘menuacti
on=addressbook.addressbook_ui.cat_add’).’","_blank","width=300,heigh
t=400
win.focus();
} else {
diff --git a/addressbook/setup/egw_bg.lang
b/addressbook/setup/egw_bg.lang
index cb69638…eec1194 100644
— a/addressbook/setup/egw_bg.lang
+++ b/addressbook/setup/egw_bg.lang
@@ -21,7 +21,7 @@ add a single entry by passing the fields. addressbook bg
Добавяне на
add business email of whole distribution list? addressbook bg Добавяне на
служебен e-mail за целия пощенски списък?
add custom field addressbook bg Добавяне на поле по избор
add emails of whole distribution list? addressbook bg Добаване на e-mail
адресите на целия пощенски списък?
-add or delete categoies addressbook bg Добавяне или изтриване на
категории
+add or delete categories addressbook bg Добавяне или изтриване на
категории
add to distribution list: addressbook bg Добавяне към пощенски списък:
added addressbook bg добавен
added by synchronisation addressbook bg добавен чрез синхронизация
diff --git a/addressbook/setup/egw_cs.lang
b/addressbook/setup/egw_cs.lang
index 1703fd7…68d01b5 100644
— a/addressbook/setup/egw_cs.lang
+++ b/addressbook/setup/egw_cs.lang
@@ -21,7 +21,7 @@ add a single entry by passing the fields. addressbook cs
Přidat
záznam vyplně
add business email of whole distribution list? addressbook cs Přidat
firemní
e-mail celého distribučního seznamu?
add custom field addressbook cs Přidat uživatelsky definovanou položku
add emails of whole distribution list? addressbook cs Přidat e-maily
celého
distribučního seznamu?
-add or delete categoies addressbook cs Přidat nebo smazat kategorie
+add or delete categories addressbook cs Přidat nebo smazat kategorie
add to distribution list: addressbook cs Přidat do distribučního seznamu:
added addressbook cs přidáno
added by synchronisation addressbook cs přidáno synchronizací
diff --git a/addressbook/setup/egw_de.lang
b/addressbook/setup/egw_de.lang
index 79db397…0ab3ccc 100644
— a/addressbook/setup/egw_de.lang
+++ b/addressbook/setup/egw_de.lang
@@ -22,7 +22,7 @@ add a single entry by passing the fields. addressbook de
Hinzufügen eines einze
add business email of whole distribution list? addressbook de E-Mail
geschäftl. der kompletten Liste hinzufügen?
add custom field addressbook de Benutzerdefiniertes Feld hinzufügen
add emails of whole distribution list? addressbook de E-Mails der gesamten
Verteilerliste hinzufügen?
-add or delete categoies addressbook de Kategorien hinzufügen oder löschen
+add or delete categories addressbook de Kategorien hinzufügen oder
löschen
add to distribution list: addressbook de Hinzufügen zu Verteiler:
added addressbook de hinzugefügt
added by synchronisation addressbook de Hinzugefügt über die
Synchronisation
diff --git a/addressbook/setup/egw_en.lang
b/addressbook/setup/egw_en.lang
index 5b4ec0c…d31d642 100644
— a/addressbook/setup/egw_en.lang
+++ b/addressbook/setup/egw_en.lang
@@ -22,7 +22,7 @@ add a single entry by passing the fields. addressbook en
Add a
single entry by p
add business email of whole distribution list? addressbook en Add business
email of whole distribution list?
add custom field addressbook en Add Custom Field
add emails of whole distribution list? addressbook en Add emails of whole
distribution list?
-add or delete categoies addressbook en Add or delete Categoies
+add or delete categories addressbook en Add or delete Categories
add to distribution list: addressbook en Add to distribution list:
added addressbook en added
added by synchronisation addressbook en added by synchronisation
diff --git a/addressbook/setup/egw_es-es.lang
b/addressbook/setup/egw_es-es.lang
index 63884f7…3fb64d5 100644
— a/addressbook/setup/egw_es-es.lang
+++ b/addressbook/setup/egw_es-es.lang
@@ -22,7 +22,7 @@ add a single entry by passing the fields. addressbook
es-es
Añadir una entrada
add business email of whole distribution list? addressbook es-es ¿Añadir
el
correo electrónico de la empresa de toda la lista de distribución?
add custom field addressbook es-es Añadir campo personalizado
add emails of whole distribution list? addressbook es-es ¿Añadir los
correos de
toda la lista de distribución?
-add or delete categoies addressbook es-es Añadir o borrar Categorías
+add or delete categories addressbook es-es Añadir o borrar Categorías
add to distribution list: addressbook es-es Añadir a la lista de
distribución:
added addressbook es-es añadido
added by synchronisation addressbook es-es Añadido por sincronización
diff --git a/addressbook/setup/egw_nl.lang
b/addressbook/setup/egw_nl.lang
index 08d9340…7160a06 100644
— a/addressbook/setup/egw_nl.lang
+++ b/addressbook/setup/egw_nl.lang
@@ -22,7 +22,7 @@ add a single entry by passing the fields. addressbook nl
Voeg een
enkele invoer
add business email of whole distribution list? addressbook nl Voeg
bedrijfsemail of hele distributielijst toe?
add custom field addressbook nl Aangepast veld toevoegen
add emails of whole distribution list? addressbook nl Voeg emailadressen
van de
hele distributie lijst toe?
-add or delete categoies addressbook nl Toevoegen of verwijderen
categoriën
+add or delete categories addressbook nl Toevoegen of verwijderen
categoriën
add to distribution list: addressbook nl Voeg toe aan distributielijst:
added addressbook nl toegevoegd
added by synchronisation addressbook nl toegevoegd tijdens synchronisatie
diff --git a/addressbook/setup/egw_pt-br.lang
b/addressbook/setup/egw_pt-br.lang
index 84e2578…fa3a162 100644
— a/addressbook/setup/egw_pt-br.lang
+++ b/addressbook/setup/egw_pt-br.lang
@@ -21,7 +21,7 @@ add a single entry by passing the fields. addressbook
pt-br
Adicionar uma única
add business email of whole distribution list? addressbook pt-br Adicionar
e-mail comercial para uma lista de distribuição inteira ?
add custom field addressbook pt-br Adicionar campo personalizado
add emails of whole distribution list? addressbook pt-br Adicionar emails
de
toda lista de distribuição?
-add or delete categoies addressbook pt-br Adicionar ou remover Categorias
+add or delete categories addressbook pt-br Adicionar ou remover
Categorias
add to distribution list: addressbook pt-br Adicionar a uma lista de
distribuição
added addressbook pt-br adicionado
added by synchronisation addressbook pt-br adicionado por sincronização
diff --git a/addressbook/setup/egw_ru.lang
b/addressbook/setup/egw_ru.lang
index 51229c1…3f5793d 100644
— a/addressbook/setup/egw_ru.lang
+++ b/addressbook/setup/egw_ru.lang
@@ -21,7 +21,7 @@ add a single entry by passing the fields. addressbook ru
Добавить одн
add business email of whole distribution list? addressbook ru Добавить
рабочий
адрес всего списка рассылки?
add custom field addressbook ru Добавить Пользовательское Поле
add emails of whole distribution list? addressbook ru Добавить адреса
всего
списка рассылк?
-add or delete categoies addressbook ru Добавить или удалить Категории
+add or delete categories addressbook ru Добавить или удалить Категории
add to distribution list: addressbook ru Добавить к списку рассылки:
added addressbook ru добавлено
added by synchronisation addressbook ru добавлено при синхронизации
diff --git a/addressbook/setup/egw_sk.lang
b/addressbook/setup/egw_sk.lang
index 62c08bf…ed270f4 100644
— a/addressbook/setup/egw_sk.lang
+++ b/addressbook/setup/egw_sk.lang
@@ -21,7 +21,7 @@ add a single entry by passing the fields. addressbook sk
Pridať
záznam pomocou
add business email of whole distribution list? addressbook sk Pridať
Zamestnanie - Email celého distribučného zoznamu
add custom field addressbook sk Pridať používateľskú položku
add emails of whole distribution list? addressbook sk Pridať Email celého
distribučného zoznamu?
-add or delete categoies addressbook sk Pridať alebo odstrániť kategórie
+add or delete categories addressbook sk Pridať alebo odstrániť kategórie
add to distribution list: addressbook sk Pridať do distribučného zoznamu:
added addressbook sk pridané
added by synchronisation addressbook sk Pridané cez synchronizáciu
diff --git a/addressbook/setup/egw_sl.lang
b/addressbook/setup/egw_sl.lang
index c249d8e…6a6e5b6 100644
— a/addressbook/setup/egw_sl.lang
+++ b/addressbook/setup/egw_sl.lang
@@ -22,7 +22,7 @@ add a single entry by passing the fields. addressbook sl
Dodaj
zapis z vnosom p
add business email of whole distribution list? addressbook sl Dodam
službeni
e-naslov celotnega distribucijskega seznama?
add custom field addressbook sl Dodaj polje
add emails of whole distribution list? addressbook sl Dodam naslove celega
distribucijskega seznama?
-add or delete categoies addressbook sl Dodaj ali izbriši kategorije
+add or delete categories addressbook sl Dodaj ali izbriši kategorije
add to distribution list: addressbook sl Dodaj v distribucijski seznam:
added addressbook sl Dodano
added by synchronisation addressbook sl Dodano s sinhronizacijo
–
“Don’t worry, you’ll be fine; I saw it work in a cartoon once…”
This SF.Net email is sponsored by the Moblin Your Move Developer’s
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Stylite GmbH
[ open style of IT ]
Morschheimer Strasse 15
D - 67292 Kirchheimbolanden
fon 06352 . 70629-0
fax 06352 . 70629-30
email kl@stylite.de
www.stylite.de
Geschäftsführer: Nigel John Vickers, Andre Keller
Registergericht Kaiserslautern, HRB 12087
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers