*** empty log message ***

This commit is contained in:
sebastian 2005-03-10 00:19:53 +00:00
parent b818d6b0d6
commit ef8067a20f
18 changed files with 219 additions and 112 deletions

View file

@ -2,16 +2,16 @@
{literal}
<script type="text/javascript">
function form_submit(formname)
function form_submit(formname, action)
{
var href = '{/literal}{$UI_HANDLER}?act='+formname+'.removeItem{literal}';
var href = '{/literal}{$UI_HANDLER}{literal}?act='+action;
var n;
for (n=0; n < (document.forms[formname].elements.length-1); n++) {
if (document.forms[formname].elements[n].checked) {
for (n=0; n < (document.forms[formname].elements.length); n++) {
if (document.forms[formname].elements[n].checked && document.forms[formname].elements[n].name!='all') {
href = href + '&id[]=' + document.forms[formname].elements[n].name;
}
}
}
hpopup(href);
}
@ -26,12 +26,12 @@ function form_switchAll(formname)
}
}
function form_clearAll(formname)
function form_clearAll(formname, action)
{
if (confirm("{/literal}{tra 0='Are you sure to remove all Items?'}{literal}")) {
document.forms[formname].elements['all'].checked = true;
form_switchAll(formname);
form_submit(formname);
form_submit(formname, action);
}
}
</script>