diff --git a/inc/inc.ClassUI.php b/inc/inc.ClassUI.php index fe9d76283..890f39d5f 100644 --- a/inc/inc.ClassUI.php +++ b/inc/inc.ClassUI.php @@ -579,6 +579,10 @@ class UI { var current = document..categoryid; openDlg = open("out.CategoryChooser.php?form=&cats="+current.value, "openDlg", "width=480,height=480,scrollbars=yes,resizable=yes,status=yes"); } + function clearCategory() { + document..categoryid.value = ''; + document..categoryname.value = ''; + } "; print ""; + print "  \"\""; print "  "; } /* }}} */