forked from extern/egroupware
Update file:
This commit is contained in:
parent
1b119f58d5
commit
52a1fd3085
@ -13,23 +13,23 @@ function removeSelectedOptions(id)
|
|||||||
{
|
{
|
||||||
if (openerSelectBox.options[i].selected)
|
if (openerSelectBox.options[i].selected)
|
||||||
{
|
{
|
||||||
alert (i);
|
|
||||||
openerSelectBox.removeChild(openerSelectBox[i]);
|
openerSelectBox.removeChild(openerSelectBox[i]);
|
||||||
openerSelectBox.options[i--] = null
|
//openerSelectBox.options[i--] = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function bobo()
|
function selectAll(id)
|
||||||
{
|
{
|
||||||
openerSelectBox = document.getElementById('uicalendar_matrix_users');
|
openerSelectBox = document.getElementById(id);
|
||||||
|
|
||||||
if (openerSelectBox == null)
|
if (openerSelectBox == null)
|
||||||
window.close();
|
window.close();
|
||||||
|
|
||||||
|
|
||||||
for (i=0; i < openerSelectBox.length; i++)
|
for (i=0; i < openerSelectBox.length; i++)
|
||||||
{
|
openerSelectBox.options[i].selected = 1 ;
|
||||||
alert (i);
|
|
||||||
}
|
document.matrixform.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
-->
|
-->
|
||||||
@ -41,10 +41,14 @@ function bobo()
|
|||||||
<td colspan="2" align="center"><b>{title}</b></td>
|
<td colspan="2" align="center"><b>{title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{rows}
|
{rows}
|
||||||
|
<tr bgcolor="#EEEEEE">
|
||||||
|
<td align="right">{delete_participants} :</td>
|
||||||
|
<td align="left"><a href="#" onClick="javascript:removeSelectedOptions('uicalendar_matrix_users')"><img src="/calendar/templates/prisma/images/delete.png" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="center">
|
<td colspan="2" align="center">
|
||||||
<img src="" onClick="javascript:removeSelectedOptions('uicalendar_matrix_users')" width="100" height="100">
|
<input type="button" value="{submit_button}" onClick="javascript:selectAll('uicalendar_matrix_users')">
|
||||||
<input type="submit" value="{submit_button}">
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user