Summary | Adding contacts to a new list fails |
Queue | Turba |
Queue Version | 2.1.4 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | info (at) wanner-it (dot) de |
Created | 03/21/2007 (6677 days ago) |
Due | |
Updated | 04/11/2007 (6656 days ago) |
Assigned | |
Resolved | 03/21/2007 (6677 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
the modified file is /horde/turba/templates/browse/javascript.inc
The correct file is at this page :
http://cvs.horde.org/co.php?r=1.20&f=turba%2Ftemplates%2Fbrowse%2Fjavascript.inc
Jerome.
> Hi!!
what file or files modify to get this solved?
Thanks.
Ivan
Could you please make a patch? Or give more detailed instructions on
what file or files modify to get this solved?
Thanks.
Ivan
State ⇒ Resolved
changing "source" on that line to "targetAddressbook".
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Adding contacts to a new list fails
Queue ⇒ Turba
State ⇒ Unconfirmed
that new list and after entering the name and submitting the window
nothing happens.
In my error console (Firefox 2.0.0.3) the following error occurs:
document.contacts.source has no properties
This ist the function where it fails:
function Add(select)
{
if (!AnySelected()) {
window.alert('Sie müssen erst mindestens einen Eintrag auswählen.');
return false;
}
key = select[select.selectedIndex].value;
if (key == '') {
alert('Sie müssen erst eine Zielliste angeben.');
return false;
}
if (key.indexOf(':') == -1 || key.lastIndexOf(':') == key.length - 1) {
var newList = window.prompt('Bitte einen Namen für die neue
Kontakliste angeben:\n', '');
if (newList != null && newList != '') {
if (key.lastIndexOf(':') == key.length - 1) {
key = key.substr(0, key.length - 1);
}
document.contacts.source.value = key;
<-----------------------------------
document.contacts.targetNew.value = 1;
document.contacts.targetList.value = newList;
} else {
return false;
}
} else {
document.contacts.targetList.value = key;
}
Submit('add');
}
I upgraded to 2.1.4 some days ago.