mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
some php setting or something puts automatically a hidden input element with the session id at the beginning of every form. The javascript here used form.elements(0), which refered to a different element when this hidden thing appeared. So I changed that to form.element('name') to avoid this.
This commit is contained in:
parent
db890a0024
commit
56f091d357
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
function ExchangeAccountSelect(thisform)
|
function ExchangeAccountSelect(thisform)
|
||||||
{
|
{
|
||||||
NewEntry = new Option(thisform.elements[1].value,thisform.elements[0].value,false,true);
|
NewEntry = new Option(thisform.elements['accountdisplay'].value,thisform.elements['accountid'].value,false,true);
|
||||||
userSelectBox.options[userSelectBox.length] = NewEntry;
|
userSelectBox.options[userSelectBox.length] = NewEntry;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -71,8 +71,8 @@
|
|||||||
<td><a href="{link_user_group}"><font face="{font}">{name_user_group}</font></a></td>
|
<td><a href="{link_user_group}"><font face="{font}">{name_user_group}</font></a></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<form>
|
<form>
|
||||||
<input type="hidden" name="hidden" value="{accountid}">
|
<input type="hidden" name="accountid" value="{accountid}">
|
||||||
<input type="hidden" name="hidden" value="{account_display}">
|
<input type="hidden" name="accountdisplay" value="{account_display}">
|
||||||
<input type="image" src="{img}" onClick="{js_function}(this.form); return false;" name="{lang_select_group}" title="{lang_select_group}">
|
<input type="image" src="{img}" onClick="{js_function}(this.form); return false;" name="{lang_select_group}" title="{lang_select_group}">
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
@ -127,8 +127,8 @@
|
|||||||
<td><font face="{font}">{firstname}</font></td>
|
<td><font face="{font}">{firstname}</font></td>
|
||||||
<td><font face="{font}">{lastname}</font></td>
|
<td><font face="{font}">{lastname}</font></td>
|
||||||
<form>
|
<form>
|
||||||
<input type="hidden" name="hidden" value="{accountid}">
|
<input type="hidden" name="accountid" value="{accountid}">
|
||||||
<input type="hidden" name="hidden" value="{account_display}">
|
<input type="hidden" name="accountdisplay" value="{account_display}">
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<input type="image" src="{img}" onClick="{js_function}(this.form); return false;" name="{lang_select_user}" title="{lang_select_user}"></td>
|
<input type="image" src="{img}" onClick="{js_function}(this.form); return false;" name="{lang_select_user}" title="{lang_select_user}"></td>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user